projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec5555
)
Bug #9433: Fix updating unseen count when emptying mailbox
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 9 Dec 2010 19:20:59 +0000
(12:20 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 9 Dec 2010 19:20:59 +0000
(12:20 -0700)
imp/lib/Ajax/Application.php
patch
|
blob
|
history
diff --git
a/imp/lib/Ajax/Application.php
b/imp/lib/Ajax/Application.php
index
65fe50f
..
bb87a47
100644
(file)
--- a/
imp/lib/Ajax/Application.php
+++ b/
imp/lib/Ajax/Application.php
@@
-191,6
+191,8
@@
class IMP_Ajax_Application extends Horde_Core_Ajax_Application
* entries:
* <pre>
* 'mbox' - (string) The mailbox that was emptied.
+ * 'poll' - (array) Mailbox names as the keys, number of unseen messages
+ * as the values.
* </pre>
*/
public function emptyMailbox()
@@
-203,6
+205,7
@@
class IMP_Ajax_Application extends Horde_Core_Ajax_Application
$result = new stdClass;
$result->mbox = $this->_vars->mbox;
+ $result->poll = array($this->_vars->mbox => 0);
return $result;
}