summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/editcalendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/editcalendar.php')
-rw-r--r--apps/calendar/ajax/editcalendar.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/editcalendar.php b/apps/calendar/ajax/editcalendar.php
index 8f798d1bbf2..7ff869f8885 100644
--- a/apps/calendar/ajax/editcalendar.php
+++ b/apps/calendar/ajax/editcalendar.php
@@ -11,6 +11,7 @@ $l10n = new OC_L10N('calendar');
if(!OC_USER::isLoggedIn()) {
die("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
}
+OC_JSON::checkAppEnabled('calendar');
$calendar = OC_Calendar_Calendar::findCalendar($_GET['calendarid']);
$tmpl = new OC_Template("calendar", "part.editcalendar");
$tmpl->assign('new', false);