diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-07-23 21:29:24 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-07-23 21:29:24 +0200 |
commit | 547927bdd29452c462a9f6d3f78c7c0daa9c3f33 (patch) | |
tree | 006a9bc0256d9d0b1d08dc170f67c2d1ad9995e3 /cron.php | |
parent | 9834e3854201d68fbd5dcbef09122c48cc5bcb10 (diff) | |
download | nextcloud-server-547927bdd29452c462a9f6d3f78c7c0daa9c3f33.tar.gz nextcloud-server-547927bdd29452c462a9f6d3f78c7c0daa9c3f33.zip |
Prevent cron.php to trigger apps updating
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,6 +48,11 @@ try { require_once 'lib/base.php'; + if (\OCP\Util::needUpgrade()) { + \OCP\Util::writeLog('cron', 'Update required, skipping cron', \OCP\Util::DEBUG); + exit(); + } + // load all apps to get all api routes properly setup OC_App::loadApps(); |