projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1bb00
)
Fix updating thread cache on message delete.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 9 Dec 2008 06:54:06 +0000
(23:54 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 9 Dec 2008 06:54:06 +0000
(23:54 -0700)
imp/lib/Mailbox.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mailbox.php
b/imp/lib/Mailbox.php
index
2ee0903
..
a758aa3
100644
(file)
--- a/
imp/lib/Mailbox.php
+++ b/
imp/lib/Mailbox.php
@@
-265,6
+265,7
@@
class IMP_Mailbox
$sortpref = IMP::getSort($this->_mailbox);
if ($sortpref['by'] == Horde_Imap_Client::SORT_THREAD) {
+ $this->_threadob = null;
$threadob = $this->getThreadOb();
$this->_sorted = $threadob->messageList((bool)$sortpref['dir']);
} else {
@@
-707,6
+708,8
@@
class IMP_Mailbox
$this->_sortedInfo = array_values($this->_sortedInfo);
}
+ $this->_threadob = null;
+
/* Update the current array index to its new position in the message
* array. */
$this->setIndex(0, 'offset');