Skip to content

Commit

Permalink
Fixing getAdmin() method location to reflect changes in API.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 16, 2009
1 parent a7fb5f9 commit cbb568b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/controller.php
Expand Up @@ -188,7 +188,7 @@ function __interactive() {
$actions = $this->bakeActions($controllerName, null, strtolower($wannaUseSession) == 'y');
}
if (strtolower($wannaBakeAdminCrud) == 'y') {
$admin = $this->getAdmin();
$admin = $this->Project->getAdmin();
$actions .= $this->bakeActions($controllerName, $admin, strtolower($wannaUseSession) == 'y');
}

Expand Down

0 comments on commit cbb568b

Please sign in to comment.