Merge branch 'MDL-23657' of git://git.luns.net.uk/moodle

This commit is contained in:
Sam Hemelryk 2011-01-10 13:39:44 +08:00
commit 6b9240c55e

View File

@ -40,8 +40,6 @@ class block_calendar_month extends block_base {
calendar_set_referring_course(0);
} else {
//MDL-14693: fix calendar on resource page
$courseshown = optional_param( 'id', $this->page->course->id, PARAM_INT );
// Forcibly filter events to include only those from the particular course we are in.
$filtercourse = array($courseshown => $this->page->course);
$groupeventsfrom = array($courseshown => 1);