diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-22 23:02:31 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-22 23:02:31 -0600 |
commit | 9533f4e5edfded577b67d08f7778a8a1704132f2 (patch) | |
tree | dc3e1741b8e69b0f8be6abf3cf678f499e68bff7 /ocs/v1.php | |
parent | 54317e80c0837cb5efe43086685fc09d6796e1ef (diff) | |
download | nextcloud-server-9533f4e5edfded577b67d08f7778a8a1704132f2.tar.gz nextcloud-server-9533f4e5edfded577b67d08f7778a8a1704132f2.zip |
Clean up single user mode
Single user mode basically disables WebDAV, OCS and cron execution. Since
we heavily rely on WebDAV and OCS also in the web UI it's basically useless.
An admin only sees a broken interface and can't even change any settings nor
sees any files. Also sharing is not possible.
As this is at least the case since Nextcloud 9 and we haven't received any
reports for this it seems that this feature is not used at all so I removed it.
The encryption commands now rely on the well tested maintenance mode.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'ocs/v1.php')
-rw-r--r-- | ocs/v1.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ocs/v1.php b/ocs/v1.php index 31eb0687955..2c83144da6f 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -32,8 +32,7 @@ require_once __DIR__ . '/../lib/base.php'; if (\OCP\Util::needUpgrade() - || \OC::$server->getSystemConfig()->getValue('maintenance', false) - || \OC::$server->getSystemConfig()->getValue('singleuser', false)) { + || \OC::$server->getSystemConfig()->getValue('maintenance', false)) { // since the behavior of apps or remotes are unpredictable during // an upgrade, return a 503 directly OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); |