1
1
Fork 0

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:
Hypolite Petovan 2018-01-05 21:05:18 -05:00
parent 5142528913
commit 6444f97c98
2 changed files with 304 additions and 324 deletions

View file

@ -1303,7 +1303,7 @@ function dbesc($str) {
* dba::delete, dba::update, dba::p, dba::e
*
* @param $args Query parameters (1 to N parameters of different types)
* @return array Query array
* @return array|bool Query array
*/
function q($sql) {
$args = func_get_args();

File diff suppressed because it is too large Load diff