[cvs] commit: imp folders.php imp/lib Tree.php
Michael M Slusarz
slusarz at bigworm.colorado.edu
Wed Dec 24 12:18:34 PST 2003
slusarz 2003/12/24 12:18:34 PST
Modified files:
. folders.php
lib Tree.php
Log:
New mail checking in lib/Tree.php is totally inaccurate - for example, if
a user has a mailbox with 5 messages and 2 new messages, visits the mailbox,
reads the two messages, deletes two others, and 2 new messages arrive after the
user leaves the mailbox, these new messages will not trigger the popup
window. Instead, use the IMAP recent flag. This allows us to save
space in the session since we don't have to store unneeded new message
information (this information is used in only one place - folders.php - and is
reupdated every page load so it is completely useless to cache the info).
phpdoc in IMP_Tree.
Cleaner code for figuring out the folder poll list.
We were doing a duplicate check for new messages on INBOX - the code in
the loop will already check for new messages so no need to do it explicitly.
Revision Changes Path
2.234 +25 -42 imp/folders.php
1.76 +38 -51 imp/lib/Tree.php
Chora Links:
http://cvs.horde.org/diff.php/imp/folders.php?r1=2.233&r2=2.234&ty=u
http://cvs.horde.org/diff.php/imp/lib/Tree.php?r1=1.75&r2=1.76&ty=u
More information about the cvs
mailing list