diff options
author | alecpl <alec@alec.pl> | 2012-01-23 08:09:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-01-23 08:09:44 +0000 |
commit | b3ad480bbc3d0796c18ffd0573107e9142adbd71 (patch) | |
tree | f937cc13355220bdd3d23acba07f26eeb4aa7d39 /program/include/rcube_imap.php | |
parent | 43d98b244c6ebd98ac28492b378c5e0e794862e2 (diff) |
- Fix hook name mailboxes_list renamed to reserved name, use storage_folders and add an alias to deprecated hooks list
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 4 |
1 files changed, 2 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'])) { |