Fix issues in mod/contacts
- Fix formatting - Use DBM::is_result() - Use dba::select - Simplify sprintf(t[t]()) structures - Remove commented out code - Remove unused variables - Update documentation type hints
This commit is contained in:
parent
5142528913
commit
6444f97c98
|
@ -1303,7 +1303,7 @@ function dbesc($str) {
|
||||||
* dba::delete, dba::update, dba::p, dba::e
|
* dba::delete, dba::update, dba::p, dba::e
|
||||||
*
|
*
|
||||||
* @param $args Query parameters (1 to N parameters of different types)
|
* @param $args Query parameters (1 to N parameters of different types)
|
||||||
* @return array Query array
|
* @return array|bool Query array
|
||||||
*/
|
*/
|
||||||
function q($sql) {
|
function q($sql) {
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
|
|
626
mod/contacts.php
626
mod/contacts.php
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue