summaryrefslogtreecommitdiffstats
path: root/apps/files_versioning/ajax/sethead.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versioning/ajax/sethead.php')
-rw-r--r--apps/files_versioning/ajax/sethead.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versioning/ajax/sethead.php b/apps/files_versioning/ajax/sethead.php
index d1b2df9b00f..dd8b924b118 100644
--- a/apps/files_versioning/ajax/sethead.php
+++ b/apps/files_versioning/ajax/sethead.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();
if(isset($_POST["file_versioning_head"])){
OC_Preferences::setValue(OC_User::getUser(), 'files_versioning', 'head', $_POST["file_versioning_head"]);