Changeset 5963 in subversion
- Timestamp:
- Mar 5, 2012 9:21:14 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/subscriptions_option/subscriptions_option.php
r5813 r5963 26 26 { 27 27 public $task = 'mail|settings'; 28 28 29 29 function init() 30 30 { … … 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 $args['folders'] = $rcmail->storage->conn->listMailboxes($args['root'], $args['name']); 79 $storage = $rcmail->get_storage(); 80 if ($storage->check_connection()) { 81 $args['folders'] = $storage->conn->listMailboxes($args['root'], $args['name']); 82 } 80 83 } 81 84 return $args;
Note: See TracChangeset
for help on using the changeset viewer.
