diff options
Diffstat (limited to 'apps/calendar/ajax/getcal.php')
-rw-r--r-- | apps/calendar/ajax/getcal.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/getcal.php b/apps/calendar/ajax/getcal.php index 7fa4f87cd31..c59cb873fdc 100644 --- a/apps/calendar/ajax/getcal.php +++ b/apps/calendar/ajax/getcal.php @@ -10,6 +10,7 @@ require_once ("../../../lib/base.php"); if(!OC_USER::isLoggedIn()) { die("<script type=\"text/javascript\">document.location = oc_webroot;</script>"); } +OC_JSON::checkAppEnabled('calendar'); $calendars = OC_Calendar_Calendar::allCalendars(OC_User::getUser(), 1); $events = array(); |