Changeset 5576 in subversion
- Timestamp:
- Dec 8, 2011 6:47:35 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_imap.php
r5575 r5576 2938 2938 // check if mailbox children are subscribed 2939 2939 foreach ($a_subscribed as $c_subscribed) { 2940 if ( preg_match('/^'.preg_quote($mailbox.$delm, '/').'/', $c_subscribed)) {2940 if (strpos($c_subscribed, $mailbox.$delm) === 0) { 2941 2941 $this->conn->unsubscribe($c_subscribed); 2942 2942 $this->conn->subscribe(preg_replace('/^'.preg_quote($mailbox, '/').'/', … … 2982 2982 2983 2983 foreach ($sub_mboxes as $c_mbox) { 2984 if ( preg_match('/^'.preg_quote($mailbox.$delm, '/').'/', $c_mbox)) {2984 if (strpos($c_mbox, $mailbox.$delm) === 0) { 2985 2985 $this->conn->unsubscribe($c_mbox); 2986 2986 if ($this->conn->deleteFolder($c_mbox)) {
Note: See TracChangeset
for help on using the changeset viewer.
