diff options
author | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-09-29 19:17:06 +0400 |
---|---|---|
committer | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-09-29 19:17:06 +0400 |
commit | 7d91192397f3bd1f889dfdd3b3b4554f8452372e (patch) | |
tree | c09e2dfb8c328982d6eb825036ba0b7bf7b3e58b /core/ExceptionHandler.php | |
parent | 05f76a5826e710929ebc558e846847056222e4fb (diff) |
Removing all uses of Zend_Registry from core/ plugins/ and tests/
Diffstat (limited to 'core/ExceptionHandler.php')
-rw-r--r-- | core/ExceptionHandler.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ExceptionHandler.php b/core/ExceptionHandler.php index c6d4f1d22b..71c35fca45 100644 --- a/core/ExceptionHandler.php +++ b/core/ExceptionHandler.php @@ -12,6 +12,7 @@ use Piwik\Piwik; use Piwik\Log; use Piwik\Log\ExceptionScreenFormatter; use Piwik\FrontController; +use Piwik\Registry; /** * Exception handler used to display nicely exceptions in Piwik @@ -22,7 +23,7 @@ use Piwik\FrontController; function Piwik_ExceptionHandler(Exception $exception) { try { - \Zend_Registry::get('logger_exception')->logEvent($exception); + Registry::get('logger_exception')->logEvent($exception); } catch (Exception $e) { if (FrontController::shouldRethrowException()) { |