mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
Changed "Contact::select" to "Contact::selectToArray"
This commit is contained in:
parent
89454fabdb
commit
1a3bf05dfb
2 changed files with 3 additions and 5 deletions
|
@ -117,11 +117,9 @@ class Contact extends BaseObject
|
|||
* @return array
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function select(array $fields = [], array $condition = [], array $params = [])
|
||||
public static function selectToArray(array $fields = [], array $condition = [], array $params = [])
|
||||
{
|
||||
$statement = DBA::select('contact', $fields, $condition, $params);
|
||||
|
||||
return DBA::toArray($statement);
|
||||
return DBA::selectToArray('contact', $fields, $condition, $params);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue