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:
authordiosmosis <benakamoorthi@fastmail.fm>2014-04-08 05:33:34 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-04-08 05:33:47 +0400
commit3d4f9b8a01a8f7a41a61c93a77fcb11a24a7b3b1 (patch)
treebe44703c8066ad7f0bcad7f1a3429e46975c6965 /core/EventDispatcher.php
parent750a6eb1fd0e7a5444c3fb9553b427fcf1419846 (diff)
Fixing build.
Diffstat (limited to 'core/EventDispatcher.php')
-rw-r--r--core/EventDispatcher.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/EventDispatcher.php b/core/EventDispatcher.php
index 9b4af816da..9a07801d22 100644
--- a/core/EventDispatcher.php
+++ b/core/EventDispatcher.php
@@ -140,7 +140,13 @@ class EventDispatcher extends Singleton
*/
public function clearAllObservers()
{
- $this->extraObservers = array();
+ foreach ($this->extraObservers as $eventName => $eventObservers) {
+ if (strpos($eventName, 'Log.format') === 0) {
+ continue;
+ }
+
+ $this->extraObservers[$eventName] = array();
+ }
}
/**