From 95f576328f5bdea8f16659297d248255a197881b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 21 Oct 2009 13:38:25 -0600 Subject: [PATCH] Use Horde_Notification::replace(). --- imp/lib/Application.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/imp/lib/Application.php b/imp/lib/Application.php index 4c15e31ab..50dc7a4a8 100644 --- 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'); } /** -- 2.11.0