diff options
Diffstat (limited to 'apps/calendar/ajax/newcalendar.php')
-rw-r--r-- | apps/calendar/ajax/newcalendar.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/ajax/newcalendar.php b/apps/calendar/ajax/newcalendar.php index ffcffb8afd7..199f95fb463 100644 --- a/apps/calendar/ajax/newcalendar.php +++ b/apps/calendar/ajax/newcalendar.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 = array( 'id' => 'new', 'displayname' => 'Test', |