]> git.mxchange.org Git - friendica.git/commitdiff
If we aren't connected to the database, we shouldn't return "true" on connect
authorMichael <heluecht@pirati.ca>
Sat, 17 Mar 2018 09:21:06 +0000 (09:21 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 17 Mar 2018 09:21:06 +0000 (09:21 +0000)
include/dba.php

index 9ac26aaa109b125fd61df189090e16ea49e8405b..fc54eefeb36953f609c6a7ebfed886cb37ba090f 100644 (file)
@@ -101,6 +101,7 @@ class dba {
                        if (!$install) {
                                System::unavailable();
                        }
+                       return false;
                }
                $a->save_timestamp($stamp1, "network");