From: Jan Schneider Date: Tue, 1 Sep 2009 12:57:15 +0000 (+0200) Subject: This is no longer necessary with Chuck's change to Horde::prepareResponse(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7461fa94927538b226cbde7e2d4041812305afe6;p=horde.git This is no longer necessary with Chuck's change to Horde::prepareResponse(). --- diff --git a/kronolith/lib/Notification/Listener/Status.php b/kronolith/lib/Notification/Listener/Status.php index 0170c8346..8116c8503 100644 --- a/kronolith/lib/Notification/Listener/Status.php +++ b/kronolith/lib/Notification/Listener/Status.php @@ -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); - } - }