diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_imap.php | 4 | ||||
-rw-r--r-- | program/include/rcube_plugin_api.php | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 234e8d884..56b5e59fe 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -2508,7 +2508,7 @@ class rcube_imap extends rcube_storage $a_defaults = $a_out = array(); // Give plugins a chance to provide a list of folders - $data = rcmail::get_instance()->plugins->exec_hook('folders_list', + $data = rcmail::get_instance()->plugins->exec_hook('storage_folders', array('root' => $root, 'name' => $name, 'filter' => $filter, 'mode' => 'LSUB')); if (isset($data['folders'])) { @@ -2594,7 +2594,7 @@ class rcube_imap extends rcube_storage } // Give plugins a chance to provide a list of folders - $data = rcmail::get_instance()->plugins->exec_hook('folders_list', + $data = rcmail::get_instance()->plugins->exec_hook('storage_folders', array('root' => $root, 'name' => $name, 'filter' => $filter, 'mode' => 'LIST')); if (isset($data['folders'])) { diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php index e182ace95..fbf3584e3 100644 --- a/program/include/rcube_plugin_api.php +++ b/program/include/rcube_plugin_api.php @@ -74,7 +74,9 @@ class rcube_plugin_api 'delete_identity' => 'identity_delete', 'save_identity' => 'identity_update', 'identity_save' => 'identity_update', + // to be removed after 0.8 'imap_init' => 'storage_init', + 'mailboxes_list' => 'storage_folders', ); /** |