summaryrefslogtreecommitdiffstats
path: root/apps/calendar/import.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/import.php')
-rw-r--r--apps/calendar/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/import.php b/apps/calendar/import.php
index b1c6f91df84..f4a40e3b427 100644
--- a/apps/calendar/import.php
+++ b/apps/calendar/import.php
@@ -7,7 +7,7 @@
*/
//check for calendar rights or create new one
ob_start();
-require_once ('../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_Util::checkAppEnabled('calendar');
$nl = "\n";