Rename method name

This commit is contained in:
nupplaPhil 2020-02-29 17:04:56 +01:00
parent ed422be734
commit 811f075aa1
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 3 additions and 3 deletions

View file

@ -1330,7 +1330,7 @@ class User
* @return array The list of the users
* @throws Exception
*/
public static function getUsers($start = 0, $count = Pager::ITEMS_PER_PAGE, $type = 'all', $order = 'contact.name', $order_direction = '+')
public static function getList($start = 0, $count = Pager::ITEMS_PER_PAGE, $type = 'all', $order = 'contact.name', $order_direction = '+')
{
$sql_order = '`' . str_replace('.', '`.`', $order) . '`';
$sql_order_direction = ($order_direction === '+') ? 'ASC' : 'DESC';