diff options
author | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-07-18 13:45:02 +0400 |
---|---|---|
committer | Fabian Becker <fabian.becker@uni-tuebingen.de> | 2013-07-18 13:45:02 +0400 |
commit | 03b4953f008c1063e6d7166143ba844e8c6e89cc (patch) | |
tree | 7b9f0fef13d75417c551f813c98dba1a22f2fff3 /core/Log/Exception.php | |
parent | 9b2c0a7a450fff3b634f8119c8003ae1d20b97d0 (diff) |
Refactor class Piwik_Common to \Piwik\Core\Common
Notice that auto refactoring has created a nested namespace. Not sure this is what we want - so we might have to edit those nested namespaces afterwards (I think they don't look so good)
Diffstat (limited to 'core/Log/Exception.php')
-rw-r--r-- | core/Log/Exception.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log/Exception.php b/core/Log/Exception.php index 2865ad74a3..b86a3dd6c7 100644 --- a/core/Log/Exception.php +++ b/core/Log/Exception.php @@ -8,7 +8,7 @@ * @category Piwik * @package Piwik */ -use Piwik\Core\Piwik_Common; +use Piwik\Core\Common; /** * Class used to log an exception event. @@ -94,7 +94,7 @@ class Piwik_Log_Exception_Formatter_ScreenFormatter extends Piwik_Log_Formatter_ $event = parent::formatEvent($event); $errstr = $event['message']; - $outputFormat = strtolower(Piwik_Common::getRequestVar('format', 'html', 'string')); + $outputFormat = strtolower(Common::getRequestVar('format', 'html', 'string')); $response = new Piwik_API_ResponseBuilder($outputFormat); $message = $response->getResponseException(new Exception($errstr)); return parent::format($message); |