diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-07-23 22:41:55 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-07-23 22:41:55 +0200 |
commit | 4c99869e1f1cf816ed2086a8dd14c6f3afc05d99 (patch) | |
tree | dc441cdcf17f7f16f30d302b3428f139e5ee46c8 | |
parent | fb0416884fefca7d4ecf52e8af84a36249e4b77a (diff) | |
parent | 547927bdd29452c462a9f6d3f78c7c0daa9c3f33 (diff) | |
download | nextcloud-server-4c99869e1f1cf816ed2086a8dd14c6f3afc05d99.tar.gz nextcloud-server-4c99869e1f1cf816ed2086a8dd14c6f3afc05d99.zip |
Merge pull request #9815 from owncloud/update-preventupdatethroughcron
Prevent cron.php to trigger apps updating
-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(); |