Rename banana module to forums.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 18 Mar 2008 20:13:29 +0000 (21:13 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 18 Mar 2008 20:13:38 +0000 (21:13 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
htdocs/xorg.php
modules/forums.php [moved from modules/banana.php with 97% similarity]

index 11d5ac1..93226b9 100644 (file)
@@ -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',
similarity index 97%
rename from modules/banana.php
rename to modules/forums.php
index ad09a9b..f61d801 100644 (file)
  *  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'),
         );