diff --git a/calendar/classes/external/footer_options_exporter.php b/calendar/classes/external/footer_options_exporter.php index 5d7f198fecb..da7b69de585 100644 --- a/calendar/classes/external/footer_options_exporter.php +++ b/calendar/classes/external/footer_options_exporter.php @@ -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;