summaryrefslogtreecommitdiffstats
path: root/apps/files_versioning/ajax/gethead.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versioning/ajax/gethead.php')
-rw-r--r--apps/files_versioning/ajax/gethead.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versioning/ajax/gethead.php b/apps/files_versioning/ajax/gethead.php
index cc93b7a1d17..a0bfe77db51 100644
--- a/apps/files_versioning/ajax/gethead.php
+++ b/apps/files_versioning/ajax/gethead.php
@@ -4,7 +4,7 @@
* This file is licensed under the Affero General Public License version 3 or
* later.
*/
-require_once('../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
// Fetch current commit (or HEAD if not yet set)