From: Michael M Slusarz Date: Thu, 4 Mar 2010 06:43:08 +0000 (-0700) Subject: Notification: Remove Horde_Mobile dependency X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1f6ab08a970905c2deb36aae2f2dc5eeaae52723;p=horde.git Notification: Remove Horde_Mobile dependency --- diff --git a/framework/Notification/lib/Horde/Notification/Listener/Status.php b/framework/Notification/lib/Horde/Notification/Listener/Status.php index 28274d4d3..e7b9bc104 100644 --- a/framework/Notification/lib/Horde/Notification/Listener/Status.php +++ b/framework/Notification/lib/Horde/Notification/Listener/Status.php @@ -27,10 +27,7 @@ class Horde_Notification_Listener_Status extends Horde_Notification_Listener * message stack. * * @param array $events The list of events to handle. - * @param array $options An array of options: - *
-     * 'mobile' - (Horde_Mobile) The mobile object to send status lines to.
-     * 
+ * @param array $options An array of options. Not used. */ public function notify($events, $options = array()) { @@ -38,13 +35,6 @@ class Horde_Notification_Listener_Status extends Horde_Notification_Listener return; } - if (!empty($options['mobile']) && class_exists('Horde_Mobile_Text')) { - foreach ($events as $event) { - $options['mobile']->add(new Horde_Mobile_Text(strip_tags($event))); - } - return; - } - echo '