From e22f1042fc6debde9eb448efd64321b1a740fda3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 14 May 2001 19:41:18 +0000 Subject: - Renamed "hostname.conf" to "setting.php" (cfr. "setting.module"). Note that - when upgrading - you have to rename all your existing configuration files to reflect this change: yourdomain.com.conf -> yourdomain.com.php By default, i.e. if no configuration file is found, setting.php will be used instead. Using the ".php"-extension will fix most configuration/security issues with .htaccess-files ... - Removed some dead code from forum.module. --- modules/forum/forum.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index a414a47a0..5a14831c1 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -1,7 +1,5 @@ HTML, 1 => PHP, 2 => text); - function forum_status() { return array(dumped, posted); } @@ -13,7 +11,7 @@ function forum_view($node) { } function forum_form($edit = array()) { - global $format, $REQUEST_URI; + global $REQUEST_URI; $form .= form_textfield(t("Subject"), "title", $edit[title], 50, 64); $form .= structure_form("forum", $edit); -- cgit v1.2.3