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 44b09171ef
commit 1dbed85979

View file

@ -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;
}