X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=src%2FCore%2FUpdate.php;h=7b2624cb9c638ae67eda5cd7c73c0c1cc840d8ab;hb=1cab44827f384efce7c48644a2e9a75887bdba38;hp=f4d8b8f9a75d5bbaa447967bd4b35a67a53351b7;hpb=066a040cc712f25cbe752cd5f7e2b1f73a065737;p=friendica.git diff --git a/src/Core/Update.php b/src/Core/Update.php index f4d8b8f9a7..7b2624cb9c 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)) {