Merge pull request #3427 from thinkingmedia/patch-2

remove constructor return value.
This commit is contained in:
Mark Story 2014-04-30 16:43:48 -04:00
commit 279a86f313

View file

@ -92,7 +92,8 @@ class ExceptionRenderer {
$this->controller = $this->_getController($exception);
if (method_exists($this->controller, 'appError')) {
return $this->controller->appError($exception);
$this->controller->appError($exception);
return;
}
$method = $template = Inflector::variable(str_replace('Exception', '', get_class($exception)));
$code = $exception->getCode();