diff --git a/imp/lib/Notification/Handler/Decorator/NewmailNotify.php b/imp/lib/Notification/Handler/Decorator/NewmailNotify.php index 3fc95b8c22e..3c1ba3d5703 100644 --- a/imp/lib/Notification/Handler/Decorator/NewmailNotify.php +++ b/imp/lib/Notification/Handler/Decorator/NewmailNotify.php @@ -58,8 +58,7 @@ public function notify(Horde_Notification_Handler $handler, $recent = array(); try { - $ns = $imp_imap->getNamespace(); - foreach ($imp_imap->statusMultiple($injector->getInstance('IMP_Ftree')->poll->getPollList(), Horde_Imap_Client::STATUS_RECENT_TOTAL, array('sort' => true, 'sort_delimiter' => $ns['delimiter'])) as $key => $val) { + foreach ($imp_imap->statusMultiple($injector->getInstance('IMP_Ftree')->poll->getPollList(), Horde_Imap_Client::STATUS_RECENT_TOTAL, array('sort' => true)) as $key => $val) { if (!empty($val['recent_total'])) { /* Open the mailbox R/W so we ensure the 'recent' flag is * cleared. */