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:
authormattab <matthieu.aubry@gmail.com>2013-11-06 02:06:37 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-06 02:06:37 +0400
commit742794dd8dd05775aa686a575def21492e021e11 (patch)
tree26f543959108e1499ed7706e871f8b638ce955d5 /core/ExceptionHandler.php
parent16fb4919ef3d3674663d5cbc69b69097b861b95d (diff)
Fix bug reported by solfire Fatal error: Constructor Piwik\ExceptionHandler::exceptionHandler() cannot be static in /Users/dirk/Sites/piwik-02/core/ExceptionHandler.php on line 65
Diffstat (limited to 'core/ExceptionHandler.php')
-rw-r--r--core/ExceptionHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ExceptionHandler.php b/core/ExceptionHandler.php
index 9c08ecc3ce..c0a8d401b7 100644
--- a/core/ExceptionHandler.php
+++ b/core/ExceptionHandler.php
@@ -32,7 +32,7 @@ class ExceptionHandler
Piwik::addAction('Log.formatDatabaseMessage', array('\\Piwik\\ExceptionHandler', 'formatFileAndDBLogMessage'));
Piwik::addAction('Log.formatScreenMessage', array('\\Piwik\\ExceptionHandler', 'formatScreenMessage'));
- set_exception_handler(array('\\Piwik\\ExceptionHandler', 'exceptionHandler'));
+ set_exception_handler(array('\\Piwik\\ExceptionHandler', 'logException'));
}
public static function formatFileAndDBLogMessage(&$message, $level, $tag, $datetime, $log)
@@ -58,7 +58,7 @@ class ExceptionHandler
}
}
- public static function exceptionHandler(\Exception $exception)
+ public static function logException(\Exception $exception)
{
Log::error($exception);
}