From: Michael M Slusarz Date: Wed, 21 Oct 2009 19:38:25 +0000 (-0600) Subject: Use Horde_Notification::replace(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=95f576328f5bdea8f16659297d248255a197881b;p=horde.git Use Horde_Notification::replace(). --- 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'); } /**