diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2022-06-30 10:59:49 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-06-30 10:59:49 +0000 |
| commit | 9f1ed41f141ebfb519d446be31feb11b539d3f96 (patch) | |
| tree | d0d3c0dd029533847904c4c124faeb2d469f1035 /app/controllers/ical.php | |
| parent | 9f9393ac8ebd91d8550cbe074649c7bed4b1d3ad (diff) | |
use correct case for classes, closes #1233
Closes #1233
Merge request studip/studip!747
Diffstat (limited to 'app/controllers/ical.php')
| -rw-r--r-- | app/controllers/ical.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/ical.php b/app/controllers/ical.php index 06afc4d..4ecdc13 100644 --- a/app/controllers/ical.php +++ b/app/controllers/ical.php @@ -52,7 +52,8 @@ class iCalController extends StudipController $GLOBALS['perm'] = new Seminar_Perm(); $extype = 'ALL_EVENTS'; - $export = new CalendarExport(new CalendarWriterICalendar()); + $calender_writer = new CalendarWriterICalendar(); + $export = new CalendarExport($calender_writer); $export->exportFromDatabase($user_id, strtotime('-4 week'), 2114377200, 'ALL_EVENTS'); if ($GLOBALS['_calendar_error']->getMaxStatus(ErrorHandler::ERROR_CRITICAL)) { |
