projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a001a49
)
Use Horde_Notification::replace().
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 21 Oct 2009 19:38:25 +0000
(13:38 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 21 Oct 2009 20:32:00 +0000
(14:32 -0600)
imp/lib/Application.php
patch
|
blob
|
history
diff --git
a/imp/lib/Application.php
b/imp/lib/Application.php
index
4c15e31
..
50dc7a4
100644
(file)
--- a/
imp/lib/Application.php
+++ b/
imp/lib/Application.php
@@
-586,8
+586,7
@@
class IMP_Application extends Horde_Registry_Application
new IMP_Application(array('init' => array('authentication' => 'none')));
$notification = Horde_Notification::singleton();
- $notification->detach('status');
- $notification->attach('status', array('prefs' => true, 'viewmode' => 'dimp'), 'IMP_Notification_Listener_Status');
+ $notification->replace('status', array('prefs' => true, 'viewmode' => 'dimp'), 'IMP_Notification_Listener_Status');
}
/**