diff options
author | alecpl <alec@alec.pl> | 2011-05-20 10:38:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-05-20 10:38:44 +0000 |
commit | 254d5ef32b7ec45a48abd43f19c84168dabe13d1 (patch) | |
tree | 4b8551073ec4ac519856f9f04049d3c5b1d7dd40 /program/steps/settings/edit_folder.inc | |
parent | 3253b296c21c54df228de39ff3e4775974df81d5 (diff) |
- Improve performence of folder manager operations by moving subscriptions table operations (like adding/updateing/moving folders) into client-side - no need to invoke LIST, do sorting in browser
- This change should also handle better situations when working with replicated IMAP backend (e.g.Cyrus Murder)
Diffstat (limited to 'program/steps/settings/edit_folder.inc')
-rw-r--r-- | program/steps/settings/edit_folder.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index bc4310310..0bc7ab657 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -24,7 +24,7 @@ // init IMAP connection $RCMAIL->imap_connect(); -function rcube_folder_form($attrib) +function rcmail_folder_form($attrib) { global $RCMAIL; @@ -41,7 +41,7 @@ function rcube_folder_form($attrib) // Get mailbox parameters if (strlen($mbox)) { - $options = rcube_folder_options($mbox_imap); + $options = rcmail_folder_options($mbox_imap); $namespace = $RCMAIL->imap->get_namespace(); $path = explode($delimiter, $mbox_imap); @@ -319,7 +319,7 @@ function rcmail_localize_folderpath($path) // register UI objects $OUTPUT->add_handlers(array( - 'folderdetails' => 'rcube_folder_form', + 'folderdetails' => 'rcmail_folder_form', )); $OUTPUT->add_label('nonamewarning'); |