mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-23657' of git://git.luns.net.uk/moodle
This commit is contained in:
commit
6b9240c55e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user