Updating Acl and i18n shells to use dispatchShell.

This commit is contained in:
mark_story 2010-10-16 01:38:11 -04:00
parent abea7294e6
commit cf98942c72
2 changed files with 2 additions and 4 deletions

View file

@ -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');
}
/**

View file

@ -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');
}
/**