From 127aa309fb1e9139b98cbdd19e641a1219936cec Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 23 Jul 2014 21:29:24 +0200 Subject: [PATCH] Prevent cron.php to trigger apps updating --- cron.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cron.php b/cron.php index 7f746911f42..4c86407b944 100644 --- a/cron.php +++ b/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(); -- 2.39.5