diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-04-08 05:33:34 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-04-08 05:33:47 +0400 |
commit | 3d4f9b8a01a8f7a41a61c93a77fcb11a24a7b3b1 (patch) | |
tree | be44703c8066ad7f0bcad7f1a3429e46975c6965 /core/EventDispatcher.php | |
parent | 750a6eb1fd0e7a5444c3fb9553b427fcf1419846 (diff) |
Fixing build.
Diffstat (limited to 'core/EventDispatcher.php')
-rw-r--r-- | core/EventDispatcher.php | 8 |
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(); + } } /** |