diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-01-23 08:09:44 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-01-23 08:09:44 +0000 |
| commit | 56615abea558068b0f50941337fa2e1913fb5490 (patch) | |
| tree | 841696121cc4317000f1065b021e3fd3692475ff /roundcubemail/program/include/rcube_imap.php | |
| parent | 520e1116fea7d89a99b2064b5a1aa93657e11936 (diff) | |
- Fix hook name mailboxes_list renamed to reserved name, use storage_folders and add an alias to deprecated hooks list
git-svn-id: https://svn.roundcube.net/trunk@5812 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 234e8d884..56b5e59fe 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/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'])) { |
