mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing getAdmin() method location to reflect changes in API.
This commit is contained in:
parent
a7fb5f96e9
commit
cbb568b3c7
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ class ControllerTask extends Shell {
|
|||
$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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue