mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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() {
|
public function initdb() {
|
||||||
$this->Dispatch->args = array('schema', 'create', 'DbAcl');
|
return $this->dispatchShell('schema create DbAcl');
|
||||||
$this->Dispatch->dispatch();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -98,8 +98,7 @@ class I18nShell extends Shell {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function initdb() {
|
public function initdb() {
|
||||||
$this->Dispatch->args = array('schema', 'create', 'i18n');
|
$this->dispatchShell('schema create i18n');
|
||||||
$this->Dispatch->dispatch();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue