From 4fa127ad663b81f2ee98bb485b23e064591de78c Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 03 Jul 2009 12:38:33 -0400
Subject: [PATCH] Rename latest hook because 'list_mailboxes' already exists...

---
 program/include/main.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/main.inc b/program/include/main.inc
index b2bb1b2..5ff5f49 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1083,7 +1083,7 @@
   }
   
   // allow plugins to alter the folder tree or to localize folder names
-  $hook = $RCMAIL->plugins->exec_hook('list_mailboxes', array('list' => $a_mailboxes, 'delimiter' => $delimiter));
+  $hook = $RCMAIL->plugins->exec_hook('render_mailboxlist', array('list' => $a_mailboxes, 'delimiter' => $delimiter));
 
   if ($type=='select') {
     $select = new html_select($attrib);

--
Gitblit v1.9.1