mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Append Controller to error class name for isAuthorized() not implemented.
This commit is contained in:
parent
44b09171ef
commit
1dbed85979
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ class Controller extends Object {
|
|||
*/
|
||||
function isAuthorized() {
|
||||
trigger_error(sprintf(
|
||||
__('%s::isAuthorized() is not defined.', true), $this->name
|
||||
__('%sController::isAuthorized() is not defined.', true), $this->name
|
||||
), E_USER_WARNING);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue