aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/ajax/getVersions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/ajax/getVersions.php')
-rw-r--r--apps/files_versions/ajax/getVersions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_versions/ajax/getVersions.php b/apps/files_versions/ajax/getVersions.php
index 4cc1c428898..80786433e7a 100644
--- a/apps/files_versions/ajax/getVersions.php
+++ b/apps/files_versions/ajax/getVersions.php
@@ -1,4 +1,6 @@
<?php
+OCP\JSON::checkLoggedIn();
+OCP\JSON::callCheck();
OCP\JSON::checkAppEnabled('files_versions');
$source = $_GET['source'];