Add DB connection status check in Update::check

This commit is contained in:
Hypolite Petovan 2018-12-02 20:57:41 -05:00
parent 3a9db3f637
commit f7c9ed5108

View file

@ -18,6 +18,10 @@ class Update
*/
public static function check($via_worker)
{
if (!DBA::connected()) {
return;
}
$build = Config::get('system', 'build');
if (empty($build)) {