aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-27 15:44:02 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-27 15:44:02 +0100
commitd9e75c2b92a5010fe655adc5cf9ca0006e246b61 (patch)
tree2ceee9b929f9d01daa59a8a21800664b63a371ab /apps/files_versions/ajax
parentf26c47743329679a9f2ade0b3fe778439050c5af (diff)
downloadnextcloud-server-d9e75c2b92a5010fe655adc5cf9ca0006e246b61.tar.gz
nextcloud-server-d9e75c2b92a5010fe655adc5cf9ca0006e246b61.zip
remove admin settings for versions
Diffstat (limited to 'apps/files_versions/ajax')
-rw-r--r--apps/files_versions/ajax/togglesettings.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/files_versions/ajax/togglesettings.php b/apps/files_versions/ajax/togglesettings.php
deleted file mode 100644
index 546b37ae1aa..00000000000
--- a/apps/files_versions/ajax/togglesettings.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-OCP\JSON::checkAppEnabled('files_versions');
-OCP\JSON::checkAdminUser();
-OCP\JSON::callCheck();
-if (OCP\Config::getSystemValue('versions', 'true')=='true') {
- OCP\Config::setSystemValue('versions', 'false');
-} else {
- OCP\Config::setSystemValue('versions', 'true');
-}