]> git.mjollnir.org Git - moodle.git/commitdiff
Removed function, and updated versions
authormoodler <moodler>
Wed, 28 Jan 2004 14:49:56 +0000 (14:49 +0000)
committermoodler <moodler>
Wed, 28 Jan 2004 14:49:56 +0000 (14:49 +0000)
mod/forum/lib.php
mod/forum/version.php

index a44cd72c970e84ae4eecc7f0e77470e85e1629a6..8fcb66fc91eb7c412c7ed47dce7fcdb1d6670aac 100644 (file)
@@ -2313,14 +2313,4 @@ function forum_print_posts_nested($parent, $course, $ratings, $reply) {
     return $ratingsmenuused;
 }
 
-function forum_set_display_mode($mode=0) {
-    global $USER, $CFG;
-
-    if ($mode) {
-        $USER->mode = $mode;
-    } else if (empty($USER->mode)) {
-        $USER->mode = $CFG->forum_displaymode;
-    }
-}
-
 ?>
index be3f3fa54998bbdb8d16d638703e10b341def80e..e1392704fc118b2fa6f527811c6d35eae290a0cb 100644 (file)
@@ -5,8 +5,8 @@
 //  This fragment is called by /admin/index.php
 ////////////////////////////////////////////////////////////////////////////////
 
-$module->version  = 2004012400;
-$module->requires = 2004012700;  // Requires this Moodle version
+$module->version  = 2004012800;
+$module->requires = 2004012800;  // Requires this Moodle version
 $module->cron     = 60;
 
 ?>