Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-02-23 08:02:31 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-02-23 08:02:31 +0300
commit9533f4e5edfded577b67d08f7778a8a1704132f2 (patch)
treedc3e1741b8e69b0f8be6abf3cf678f499e68bff7 /cron.php
parent54317e80c0837cb5efe43086685fc09d6796e1ef (diff)
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 'cron.php')
-rw-r--r--cron.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/cron.php b/cron.php
index c8eed3afbe7..55666fbc937 100644
--- a/cron.php
+++ b/cron.php
@@ -50,11 +50,6 @@ try {
exit;
}
- if (\OC::$server->getSystemConfig()->getValue('singleuser', false)) {
- \OCP\Util::writeLog('cron', 'We are in admin only mode, skipping cron', \OCP\Util::DEBUG);
- exit;
- }
-
// load all apps to get all api routes properly setup
OC_App::loadApps();