X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdba.php;h=2b3f9060fd6fe13d49a3032e20156b216bd12ad4;hb=3a5523820cccf73f1702a384d80f4b6787d38553;hp=2d26a9472091626e6e064f1f6808823cb8a0271d;hpb=854cc3e47296d4a1b01b893376064cf254d84f79;p=friendica.git diff --git a/include/dba.php b/include/dba.php index 2d26a94720..2b3f9060fd 100644 --- a/include/dba.php +++ b/include/dba.php @@ -1,9 +1,28 @@ . + * + */ use Friendica\Database\DBA; /** - * @brief execute SQL query with printf style args - deprecated + * execute SQL query with printf style args - deprecated * * Please use the DBA:: functions instead: * DBA::select, DBA::exists, DBA::insert @@ -18,7 +37,7 @@ function q($sql) { $args = func_get_args(); unset($args[0]); - if (!DBA::$connected) { + if (!DBA::connected()) { return false; }