From b3ad480bbc3d0796c18ffd0573107e9142adbd71 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 23 Jan 2012 03:09:44 -0500
Subject: [PATCH] - Fix hook name mailboxes_list renamed to reserved name, use storage_folders and add an alias to deprecated hooks list

---
 program/include/rcube_plugin_api.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php
index e182ace..fbf3584 100644
--- a/program/include/rcube_plugin_api.php
+++ b/program/include/rcube_plugin_api.php
@@ -74,7 +74,9 @@
     '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', 
   );
 
   /**

--
Gitblit v1.9.1