Skip to content

Commit ca66ad2

Browse files
committed
MDL-65703 calendar: do not add course param for site calendar
1 parent e1f4756 commit ca66ad2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

calendar/classes/external/footer_options_exporter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ protected function get_link_params() {
100100
$params['course'] = $this->calendar->course->id;
101101
} else if (null !== $this->calendar->categoryid && $this->calendar->categoryid > 0) {
102102
$params['category'] = $this->calendar->categoryid;
103-
} else {
104-
$params['course'] = SITEID;
105103
}
106104

107105
return $params;

0 commit comments

Comments
 (0)