Changeset 1430 in subversion
- Timestamp:
- May 27, 2008 2:41:46 AM (5 years ago)
- Location:
- trunk/roundcubemail/program
- Files:
-
- 2 edited
-
include/rcube_imap.php (modified) (1 diff)
-
lib/imap.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_imap.php
r1408 r1430 1415 1415 // send expunge command in order to have the moved message 1416 1416 // really deleted from the source mailbox 1417 if ($moved) 1418 { 1417 if ($moved) { 1419 1418 $this->_expunge($from_mbox, FALSE); 1420 1419 $this->_clear_messagecount($from_mbox); 1421 1420 $this->_clear_messagecount($to_mbox); 1422 } 1421 } 1422 // moving failed 1423 else if (rcmail::get_instance()->config->get('delete_always', false)) { 1424 return iil_C_Delete($this->conn, $from_mbox, join(',', $a_mids)); 1425 } 1423 1426 1424 1427 // remove message ids from search set -
trunk/roundcubemail/program/lib/imap.inc
r1424 r1430 1908 1908 if (iil_C_Select($conn, $mailbox)) { 1909 1909 $c = 0; 1910 $_line = "flg STORE $messages " . $mod . "FLAGS (" . $flag . ")\r\n"; 1911 trigger_error($_line, E_USER_WARNING); 1912 fputs($fp, $_line); 1910 fputs($fp, "flg STORE $messages " . $mod . "FLAGS (" . $flag . ")\r\n"); 1913 1911 do { 1914 1912 $line=chop(iil_ReadLine($fp, 100)); … … 2049 2047 2050 2048 function iil_C_Move(&$conn, $messages, $from, $to) { 2051 global $CONFIG;2052 2053 2049 $fp = $conn->fp; 2054 2050 … … 2058 2054 $r = iil_C_Copy($conn, $messages, $from,$to); 2059 2055 if ($r==0) { 2060 return iil_C_Delete($conn, $from, $messages);2061 }2062 // Copy failed2063 if (isset($CONFIG['delete_always']) && $CONFIG['delete_always'] === true) {2064 2056 return iil_C_Delete($conn, $from, $messages); 2065 2057 }
Note: See TracChangeset
for help on using the changeset viewer.
