Append Controller to error class name for isAuthorized() not implemented.

This commit is contained in:
Graham Weldon 2010-12-04 22:14:33 +11:00
parent aa0bad9247
commit dd18efbe7c

View file

@ -732,7 +732,7 @@ class Controller extends Object {
*/ */
public function isAuthorized() { public function isAuthorized() {
trigger_error(sprintf( trigger_error(sprintf(
__('%s::isAuthorized() is not defined.'), $this->name __('%sController::isAuthorized() is not defined.'), $this->name
), E_USER_WARNING); ), E_USER_WARNING);
return false; return false;
} }