X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fdba.php;h=a90ec26fbb0001c31abe9cc4012adc4bda1cee74;hb=0a4119adaf6294bf43d135a0f435c1dd677c50e0;hp=2d26a9472091626e6e064f1f6808823cb8a0271d;hpb=070aa016e0915c6bba9326a94f7394acd2b21e7f;p=friendica.git diff --git a/include/dba.php b/include/dba.php index 2d26a94720..a90ec26fbb 100644 --- a/include/dba.php +++ b/include/dba.php @@ -3,7 +3,7 @@ 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 +18,7 @@ function q($sql) { $args = func_get_args(); unset($args[0]); - if (!DBA::$connected) { + if (!DBA::connected()) { return false; }