]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/DatabaseStructure.php
Rename Friendica\Database\dba to Friendica\Database\DBA
[friendica.git] / src / Core / Console / DatabaseStructure.php
index 8c26987d2cbfc3b458d732ccad29b27808a056d1..ee8370dfa154c190c095b2dfd649da273c8d1f5b 100644 (file)
@@ -3,7 +3,7 @@
 namespace Friendica\Core\Console;
 
 use Friendica\Core;
-use Friendica\Database\dba;
+use Friendica\Database\DBA;
 use Friendica\Database\DBStructure;
 use RuntimeException;
 
@@ -58,7 +58,7 @@ HELP;
                        throw new \Asika\SimpleConsole\CommandArgsException('Too many arguments');
                }
 
-               if (!dba::connected()) {
+               if (!DBA::connected()) {
                        throw new RuntimeException('Unable to connect to database');
                }