From: Michael M Slusarz Date: Wed, 5 Aug 2009 18:22:36 +0000 (-0600) Subject: Fix notification reference. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c3f9b0ac7ca215560de9cfc9e3df3581400f6975;p=horde.git Fix notification reference. --- diff --git a/imp/lib/Notification/Listener/Status.php b/imp/lib/Notification/Listener/Status.php index f51699104..b88a10d36 100644 --- a/imp/lib/Notification/Listener/Status.php +++ b/imp/lib/Notification/Listener/Status.php @@ -78,7 +78,7 @@ class IMP_Notification_Listener_Status extends Horde_Notification_Listener_Statu /* Display IMAP alerts. */ foreach ($GLOBALS['imp_imap']->ob->alerts() as $alert) { - $this->push($alert, 'horde.warning'); + $GLOBALS['notification']->push($alert, 'horde.warning'); } parent::notify($messageStack, $options); diff --git a/imp/lib/Notification/Listener/StatusMobile.php b/imp/lib/Notification/Listener/StatusMobile.php index d777cad73..8c6c91b18 100644 --- a/imp/lib/Notification/Listener/StatusMobile.php +++ b/imp/lib/Notification/Listener/StatusMobile.php @@ -25,7 +25,7 @@ class IMP_Notification_Listener_StatusMobile extends Horde_Notification_Listener { /* Display IMAP alerts. */ foreach ($GLOBALS['imp_imap']->ob->alerts() as $alert) { - $this->push($alert, 'horde.warning'); + $GLOBALS['notification']->push($alert, 'horde.warning'); } parent::notify($messageStack, $options);