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-10-09 06:27:46 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 06:27:46 +0400
commit4d341983cb34ee64b199295923a4dadfb5b38b6e (patch)
tree2e6c5e1b54fa24f65d5a11d9b82c406dedc6383a /core/Log.php
parent26bd3bc6cc6a7b83357050d6ebddee708e5fe20d (diff)
Refs #4202 removing functions Piwik_PostEvent and moving to Piwik::postEvent
Diffstat (limited to 'core/Log.php')
-rw-r--r--core/Log.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Log.php b/core/Log.php
index 9be82abe78..026f63c839 100644
--- a/core/Log.php
+++ b/core/Log.php
@@ -299,7 +299,7 @@ class Log
* // 'myloggername' can now be used in the log_writers config option.
* ```
*/
- Piwik_PostEvent(self::GET_AVAILABLE_WRITERS_EVENT, array(&$writers));
+ Piwik::postEvent(self::GET_AVAILABLE_WRITERS_EVENT, array(&$writers));
$writers['file'] = array($this, 'logToFile');
$writers['screen'] = array($this, 'logToScreen');
@@ -322,7 +322,7 @@ class Log
* check if the object is of a certain type and if it is, set $message to the
* string that should be logged.
*/
- Piwik_PostEvent(self::FORMAT_FILE_MESSAGE_EVENT, array(&$message, $level, $tag, $datetime, $logger));
+ Piwik::postEvent(self::FORMAT_FILE_MESSAGE_EVENT, array(&$message, $level, $tag, $datetime, $logger));
}
if (empty($message)) {
@@ -366,7 +366,7 @@ class Log
* The result of this callback can be HTML so no sanitization is done on the result.
* This means YOU MUST SANITIZE THE MESSAGE YOURSELF if you use this event.
*/
- Piwik_PostEvent(self::FORMAT_SCREEN_MESSAGE_EVENT, array(&$message, $level, $tag, $datetime, $logger));
+ Piwik::postEvent(self::FORMAT_SCREEN_MESSAGE_EVENT, array(&$message, $level, $tag, $datetime, $logger));
}
if (empty($message)) {
@@ -391,7 +391,7 @@ class Log
* check if the object is of a certain type and if it is, set $message to the
* string that should be logged.
*/
- Piwik_PostEvent(self::FORMAT_DATABASE_MESSAGE_EVENT, array(&$message, $level, $tag, $datetime, $logger));
+ Piwik::postEvent(self::FORMAT_DATABASE_MESSAGE_EVENT, array(&$message, $level, $tag, $datetime, $logger));
}
if (empty($message)) {