X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdba.php;h=5f633afaaa65328f7087ede40faf130a4e06e637;hb=2a56370cf4dcf891ed737edc2ee01c61d5a813d3;hp=2d26a9472091626e6e064f1f6808823cb8a0271d;hpb=070aa016e0915c6bba9326a94f7394acd2b21e7f;p=friendica.git diff --git a/include/dba.php b/include/dba.php index 2d26a94720..5f633afaaa 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; }