Skip to content

Commit

Permalink
Not using sort_delimiter anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Sep 19, 2013
1 parent 35c2575 commit a3cff87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions imp/lib/Notification/Handler/Decorator/NewmailNotify.php
Expand Up @@ -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. */
Expand Down

0 comments on commit a3cff87

Please sign in to comment.