Changeset 3c5489b in github
- Timestamp:
- May 21, 2012 3:25:51 AM (12 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo
- Children:
- 19cc5b9
- Parents:
- e95f13e
- Files:
-
- 4 edited
-
config/main.inc.php.dist (modified) (1 diff)
-
plugins/subscriptions_option/package.xml (modified) (1 diff)
-
plugins/subscriptions_option/subscriptions_option.php (modified) (1 diff)
-
program/include/rcube_imap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
config/main.inc.php.dist
ra605b25 r3c5489b 106 106 // Enable this option to force LSUB command usage instead. 107 107 $rcmail_config['imap_force_lsub'] = false; 108 109 // Some server configurations (e.g. Courier) doesn't list folders in all namespaces 110 // Enable this option to force listing of folders in all namespaces 111 $rcmail_config['imap_force_ns'] = false; 108 112 109 113 // IMAP connection timeout, in seconds. Default: 0 (no limit) -
plugins/subscriptions_option/package.xml
r48e9c14 r3c5489b 24 24 <active>yes</active> 25 25 </developer> 26 <date>2012-0 3-05</date>26 <date>2012-05-21</date> 27 27 <version> 28 <release>1. 2</release>28 <release>1.3</release> 29 29 <api>1.1</api> 30 30 </version> -
plugins/subscriptions_option/subscriptions_option.php
r48e9c14 r3c5489b 75 75 function mailboxes_list($args) 76 76 { 77 $rcmail = rcmail::get_instance();77 $rcmail = rcmail::get_instance(); 78 78 if (!$rcmail->config->get('use_subscriptions', true)) { 79 $storage = $rcmail->get_storage(); 80 if ($storage->check_connection()) { 81 $args['folders'] = $storage->conn->listMailboxes($args['root'], $args['name']); 82 } 79 $args['folders'] = $rcmail->get_storage()->list_folders_direct(); 83 80 } 84 81 return $args; -
program/include/rcube_imap.php
r0af82c8 r3c5489b 2540 2540 } 2541 2541 2542 // #1486796: some server configurations doesn't 2543 // return folders in all namespaces, we'll try to detect that situation 2544 // and ask for these namespaces separately 2545 // @TODO: make this optional 2546 if ($root == '' && $name == '*') { 2542 // #1486796: some server configurations doesn't return folders in all namespaces 2543 if ($root == '' && $name == '*' && $config->get('imap_force_ns')) { 2547 2544 $this->list_folders_update($a_folders, ($list_extended ? 'ext-' : '') . 'subscribed'); 2548 2545 } … … 2674 2671 } 2675 2672 2676 // #1486796: some server configurations doesn't 2677 // return folders in all namespaces, we'll try to detect that situation 2678 // and ask for these namespaces separately 2679 // @TODO: make this optional 2680 if ($root == '' && $name == '*') { 2673 // #1486796: some server configurations doesn't return folders in all namespaces 2674 if ($root == '' && $name == '*' && $config->get('imap_force_ns')) { 2681 2675 $this->list_folders_update($result); 2682 2676 }
Note: See TracChangeset
for help on using the changeset viewer.
