MDL-65703 calendar: do not add course param for site calendar

This commit is contained in:
Simey Lameze
2019-06-04 19:37:50 +08:00
parent bc7a35db6a
commit 76162e5ed2
-2
View File
@@ -100,8 +100,6 @@ class footer_options_exporter extends exporter {
$params['course'] = $this->calendar->course->id;
} else if (null !== $this->calendar->categoryid && $this->calendar->categoryid > 0) {
$params['category'] = $this->calendar->categoryid;
} else {
$params['course'] = SITEID;
}
return $params;