Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-29 19:17:06 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-29 19:17:06 +0400
commit7d91192397f3bd1f889dfdd3b3b4554f8452372e (patch)
treec09e2dfb8c328982d6eb825036ba0b7bf7b3e58b /core/ExceptionHandler.php
parent05f76a5826e710929ebc558e846847056222e4fb (diff)
Removing all uses of Zend_Registry from core/ plugins/ and tests/
Diffstat (limited to 'core/ExceptionHandler.php')
-rw-r--r--core/ExceptionHandler.php3
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()) {