From c3f9b0ac7ca215560de9cfc9e3df3581400f6975 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 5 Aug 2009 12:22:36 -0600 Subject: [PATCH] Fix notification reference. --- imp/lib/Notification/Listener/Status.php | 2 +- imp/lib/Notification/Listener/StatusMobile.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.11.0