Permalink
Browse files

Fixing call to deprecated method, using startupProcess() which will i…

…nitialize components.
  • Loading branch information...
1 parent 8eb9134 commit bba66f6506128bc0a28540e79e3b66b2ddb0bda6 @renan renan committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/CakeErrorController.php
@@ -54,7 +54,7 @@ public function __construct($request = null, $response = null) {
$this->components[] = 'RequestHandler';
}
$this->constructClasses();
- $this->Components->trigger('initialize', array(&$this));
+ $this->startupProcess();
$this->_set(array('cacheAction' => false, 'viewPath' => 'Errors'));
if (isset($this->RequestHandler)) {

0 comments on commit bba66f6

Please sign in to comment.