]> git.mxchange.org Git - friendica.git/blobdiff - include/dba.php
Merge pull request #7101 from nupplaphil/task/mod_viewsrc
[friendica.git] / include / dba.php
index 86ca2ac2de93c00422c75f9637a7481f31fba7ac..2d26a9472091626e6e064f1f6808823cb8a0271d 100644 (file)
@@ -5,12 +5,14 @@ use Friendica\Database\DBA;
 /**
  * @brief execute SQL query with printf style args - deprecated
  *
- * Please use the dba:: functions instead:
- * dba::select, dba::exists, dba::insert
- * dba::delete, dba::update, dba::p, dba::e
+ * Please use the DBA:: functions instead:
+ * DBA::select, DBA::exists, DBA::insert
+ * DBA::delete, DBA::update, DBA::p, DBA::e
  *
- * @param $args Query parameters (1 to N parameters of different types)
+ * @param $sql
  * @return array|bool Query array
+ * @throws Exception
+ * @deprecated
  */
 function q($sql) {
        $args = func_get_args();