projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added auto expunge
[squirrelmail.git]
/
functions
/
imap.php
diff --git
a/functions/imap.php
b/functions/imap.php
index d700c84eaccd3d3876ac2129a9d6510f25452a80..a1876c77c8cbf4557009f8e96f10b65016a9215e 100644
(file)
--- a/
functions/imap.php
+++ b/
functions/imap.php
@@
-292,7
+292,10
@@
} else {
setMessageFlag($imapConnection, $a, $b, "Deleted");
}
+ if ($auto_expunge == true)
+ expungeBox($imapConnection, $mailbox);
}
+
function stripComments($line) {
if (strpos($line, ";")) {
$line = substr($line, 0, strpos($line, ";"));