projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Including plugins integrated into 1.5.1 core.
[squirrelmail.git]
/
src
/
empty_trash.php
diff --git
a/src/empty_trash.php
b/src/empty_trash.php
index d81facc7d02777f80feec6693cf202979089d724..ceaac877173192dc35ffce5b8997bb5852e57dd9 100644
(file)
--- a/
src/empty_trash.php
+++ b/
src/empty_trash.php
@@
-67,6
+67,8
@@
for ($i = 0; $i < $numboxes; $i++) {
// now lets go through the tree and delete the folders
walkTreeInPreOrderEmptyTrash(0, $imap_stream, $foldersTree);
// now lets go through the tree and delete the folders
walkTreeInPreOrderEmptyTrash(0, $imap_stream, $foldersTree);
+// update mailbox cache
+$mailboxes=sqimap_get_mailboxes($imap_stream,true,$show_only_subscribed_folders);
sqimap_logout($imap_stream);
// close session properly before redirecting
sqimap_logout($imap_stream);
// close session properly before redirecting