mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Append Controller to error class name for isAuthorized() not implemented.
This commit is contained in:
parent
aa0bad9247
commit
dd18efbe7c
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ class Controller extends Object {
|
|||
*/
|
||||
public function isAuthorized() {
|
||||
trigger_error(sprintf(
|
||||
__('%s::isAuthorized() is not defined.'), $this->name
|
||||
__('%sController::isAuthorized() is not defined.'), $this->name
|
||||
), E_USER_WARNING);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue