]> git.mxchange.org Git - friendica.git/blobdiff - include/dba.php
@brief is removed completely
[friendica.git] / include / dba.php
index 2d26a9472091626e6e064f1f6808823cb8a0271d..a90ec26fbb0001c31abe9cc4012adc4bda1cee74 100644 (file)
@@ -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;
        }