This is no longer necessary with Chuck's change to Horde::prepareResponse().
authorJan Schneider <jan@horde.org>
Tue, 1 Sep 2009 12:57:15 +0000 (14:57 +0200)
committerJan Schneider <jan@horde.org>
Tue, 1 Sep 2009 12:57:15 +0000 (14:57 +0200)
kronolith/lib/Notification/Listener/Status.php

index 0170c83..8116c85 100644 (file)
@@ -27,21 +27,4 @@ class Kronolith_Notification_Listener_Status extends Horde_Notification_Listener
         return (substr($type, 0, 10) == 'kronolith.') || parent::handles($type);
     }
 
-    /**
-     * Returns all status message if there are any on the 'status' message
-     * stack.
-     *
-     * @param array &$messageStack  The stack of messages.
-     * @param array $options        An array of options.
-     */
-    public function notify(&$messageStack, $options = array())
-    {
-        /* Don't capture notification messages if we are logging out are
-         * accessing the options pages. */
-        if (Horde_Auth::getAuth() && !strstr($_SERVER['PHP_SELF'], '/prefs.php')) {
-            $options['store'] = true;
-        }
-        parent::notify($messageStack, $options);
-    }
-
 }