mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating Acl and i18n shells to use dispatchShell.
This commit is contained in:
parent
abea7294e6
commit
cf98942c72
2 changed files with 2 additions and 4 deletions
|
@ -342,8 +342,7 @@ class AclShell extends Shell {
|
|||
*
|
||||
*/
|
||||
public function initdb() {
|
||||
$this->Dispatch->args = array('schema', 'create', 'DbAcl');
|
||||
$this->Dispatch->dispatch();
|
||||
return $this->dispatchShell('schema create DbAcl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -98,8 +98,7 @@ class I18nShell extends Shell {
|
|||
*
|
||||
*/
|
||||
public function initdb() {
|
||||
$this->Dispatch->args = array('schema', 'create', 'i18n');
|
||||
$this->Dispatch->dispatch();
|
||||
$this->dispatchShell('schema create i18n');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue