summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/event/new.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/event/new.php')
-rw-r--r--apps/calendar/ajax/event/new.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/event/new.php b/apps/calendar/ajax/event/new.php
index 7070bbf05d7..5e8c305e97a 100644
--- a/apps/calendar/ajax/event/new.php
+++ b/apps/calendar/ajax/event/new.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('calendar');