From f7c9ed5108ddfc3e6e253a236b3a6b4abfa73d6b Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 2 Dec 2018 20:57:41 -0500 Subject: [PATCH] Add DB connection status check in Update::check --- src/Core/Update.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Core/Update.php b/src/Core/Update.php index f4d8b8f9a..7b2624cb9 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -18,6 +18,10 @@ class Update */ public static function check($via_worker) { + if (!DBA::connected()) { + return; + } + $build = Config::get('system', 'build'); if (empty($build)) {