From 9c30fe48a686320f4316cbaccb4f1a79395b9e11 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 18 Mar 2008 21:13:29 +0100 Subject: [PATCH] Rename banana module to forums. Signed-off-by: Florent Bruneau --- htdocs/xorg.php | 2 +- modules/{banana.php => forums.php} | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) rename modules/{banana.php => forums.php} (97%) diff --git a/htdocs/xorg.php b/htdocs/xorg.php index 11d5ac1..93226b9 100644 --- a/htdocs/xorg.php +++ b/htdocs/xorg.php @@ -24,7 +24,7 @@ global $globals, $platal, $page; if (!($path = Env::v('n')) || ($path{0} < 'A' || $path{0} > 'Z')) { - $platal = new Platal('auth', 'banana', 'carnet', 'email', 'events', + $platal = new Platal('auth', 'carnet', 'email', 'events', 'forums', 'geoloc', 'lists', 'marketing', 'payment', 'platal', 'profile', 'register', 'search', 'stats', 'admin', 'newsletter', 'axletter', 'bandeau', 'survey', diff --git a/modules/banana.php b/modules/forums.php similarity index 97% rename from modules/banana.php rename to modules/forums.php index ad09a9b..f61d801 100644 --- a/modules/banana.php +++ b/modules/forums.php @@ -19,14 +19,12 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -class BananaModule extends PLModule +class ForumsModule extends PLModule { function handlers() { return array( 'banana' => $this->make_hook('banana', AUTH_COOKIE), -// 'banana/profile' => $this->make_hook('profile', AUTH_MDP), -// 'banana/subscribe' => $this->make_hook('subscription', AUTH_COOKIE), 'banana/rss' => $this->make_hook('rss', AUTH_PUBLIC, 'user', NO_HTTPS), 'admin/forums' => $this->make_hook('forums_bans', AUTH_MDP, 'admin'), ); -- 2.1.4