Merge pull request #9815 from owncloud/update-preventupdatethroughcron

Prevent cron.php to trigger apps updating
remotes/origin/fix-10825
Thomas Müller 11 years ago
commit 4c99869e1f
  1. 5
      cron.php

@ -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();

Loading…
Cancel
Save