diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -57,6 +57,11 @@ try { exit; } + if (\OCP\Config::getSystemValue('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(); |