Changeset 2540 in subversion for trunk/roundcubemail/program/lib/imap.inc
- Timestamp:
- May 26, 2009 4:50:10 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/lib/imap.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/lib/imap.inc
r2533 r2540 83 83 - removed caching functions 84 84 - handling connection startup response 85 - added UID EXPUNGE support 85 86 86 87 ********************************************************/ … … 1864 1865 } 1865 1866 1866 function iil_C_Expunge(&$conn, $mailbox ) {1867 function iil_C_Expunge(&$conn, $mailbox, $messages=NULL) { 1867 1868 1868 1869 if (iil_C_Select($conn, $mailbox)) { 1869 1870 $c = 0; 1870 iil_PutLine($conn->fp, "exp1 EXPUNGE"); 1871 $command = $messages ? "UID EXPUNGE $messages" : "EXPUNGE"; 1872 1873 iil_PutLine($conn->fp, "exp1 $command"); 1871 1874 do { 1872 1875 $line=chop(iil_ReadLine($conn->fp, 100)); … … 2031 2034 2032 2035 function iil_C_Move(&$conn, $messages, $from, $to) { 2033 $fp = $conn->fp;2034 2036 2035 2037 if (!$from || !$to) { 2036 2038 return -1; 2037 2039 } 2038 $r = iil_C_Copy($conn, $messages, $from,$to); 2040 2041 $r = iil_C_Copy($conn, $messages, $from, $to); 2042 2039 2043 if ($r==0) { 2040 2044 return iil_C_Delete($conn, $from, $messages);
Note: See TracChangeset
for help on using the changeset viewer.
