diff --git a/cake/libs/controller/components/security.php b/cake/libs/controller/components/security.php index e8029b6a02b..1c72b5cfde6 100644 --- a/cake/libs/controller/components/security.php +++ b/cake/libs/controller/components/security.php @@ -729,10 +729,8 @@ function _callback(&$controller, $method, $params = array()) { if (is_callable(array($controller, $method))) { return call_user_func_array(array(&$controller, $method), empty($params) ? null : $params); } else { - // Debug::warning('Callback method ' . $method . ' in controller ' . get_class($controller) return null; } } } - ?> \ No newline at end of file