Changeset f8a846c in github
- Timestamp:
- Aug 28, 2009 4:31:41 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 3e8b1119
- Parents:
- b8ae99a6
- File:
-
- 1 edited
-
program/include/rcube_imap.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap.php
r80fbdaa rf8a846c 2891 2891 { 2892 2892 $updated = FALSE; 2893 2893 2894 2894 if (is_array($a_mboxes)) 2895 2895 foreach ($a_mboxes as $i => $mbox_name) … … 2899 2899 2900 2900 if ($mode=='subscribe') 2901 $ result= iil_C_Subscribe($this->conn, $mailbox);2901 $updated = iil_C_Subscribe($this->conn, $mailbox); 2902 2902 else if ($mode=='unsubscribe') 2903 $result = iil_C_UnSubscribe($this->conn, $mailbox); 2904 2905 if ($result>=0) 2906 $updated = TRUE; 2903 $updated = iil_C_UnSubscribe($this->conn, $mailbox); 2907 2904 } 2908 2909 // get cached mailbox list 2905 2906 // get cached mailbox list 2910 2907 if ($updated) 2911 2908 { … … 2919 2916 else if ($mode=='unsubscribe') 2920 2917 $a_mailbox_cache = array_diff($a_mailbox_cache, $a_mboxes); 2921 2918 2922 2919 // write mailboxlist to cache 2923 2920 $this->update_cache('mailboxes', $this->_sort_mailbox_list($a_mailbox_cache));
Note: See TracChangeset
for help on using the changeset viewer.
