From 9533f4e5edfded577b67d08f7778a8a1704132f2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 22 Feb 2017 23:02:31 -0600 Subject: 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 --- cron.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cron.php') 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(); -- cgit v1.2.3