summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/changeview.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/changeview.php')
-rw-r--r--apps/calendar/ajax/changeview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/changeview.php b/apps/calendar/ajax/changeview.php
index ae48b229b16..707c8c59ebf 100644
--- a/apps/calendar/ajax/changeview.php
+++ b/apps/calendar/ajax/changeview.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-require_once ("../../../lib/base.php");
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('calendar');
$view = $_GET['v'];