]> git.mjollnir.org Git - moodle.git/commitdiff
Bump
authordefacer <defacer>
Mon, 24 May 2004 10:38:16 +0000 (10:38 +0000)
committerdefacer <defacer>
Mon, 24 May 2004 10:38:16 +0000 (10:38 +0000)
blocks/calendar_month/block_calendar_month.php
blocks/calendar_upcoming/block_calendar_upcoming.php

index be2a99a0b17f7f696c0edb4a4412b5afd7c291b1..06b4071b5d3077e3b976d460e12b2edd2a9474b3 100644 (file)
@@ -5,7 +5,7 @@ class CourseBlock_calendar_month extends MoodleBlock {
         $this->title = get_string('calendar', 'calendar');
         $this->content_type = BLOCK_TYPE_TEXT;
         $this->course = $course;
-        $this->version = 2004052000;
+        $this->version = 2004052400;
     }
 
     function get_content() {
@@ -36,20 +36,6 @@ class CourseBlock_calendar_month extends MoodleBlock {
         // We 'll need this later
         calendar_set_referring_course($courseshown);
 
-        // [pj] Let's leave this in, the above may not be the final solution
-        /*
-        if($courseshown !== false && is_int($SESSION->cal_show_course) && $SESSION->cal_show_course != $courseshown) {
-            // There is a filter in action that shows events from a course other than the current
-            // Change it to show only the current course
-            $SESSION->cal_show_course = $courseshown;
-        }
-        else if($courseshown !== false && is_array($SESSION->cal_show_course) && !in_array($courseshown, $SESSION->cal_show_course)) {
-            // Same as above, only there are many courses being shown. Unfortunately, not this one.
-            // Change it to show only the current course
-            $SESSION->cal_show_course = $courseshown;
-        }
-        */
-
         // Be VERY careful with the format for default courses arguments!
         // Correct formatting is [courseid] => 1 to be concise with moodlelib.php functions.
 
index 4be9cf69fcec18af511a026a82564c842bd1c29f..49e2eda3fced7ff7c80ffa7f528637b578cc9827 100644 (file)
@@ -5,7 +5,7 @@ class CourseBlock_calendar_upcoming extends MoodleBlock {
         $this->title = get_string('upcomingevents', 'calendar');
         $this->content_type = BLOCK_TYPE_TEXT;
         $this->course = $course;
-        $this->version = 2004052000;
+        $this->version = 2004052400;
     }
 
     function get_content() {