change order, key -> uid and value -> display name, this way it is also possible to have non-unique display names
This commit is contained in:
parent
19024de988
commit
996b5cf368
|
@ -134,7 +134,7 @@ abstract class OC_User_Backend implements OC_User_Interface {
|
|||
|
||||
/**
|
||||
* @brief Get a list of all display names
|
||||
* @returns array with all displayNames (key) and the correspondig uids (value)
|
||||
* @returns array with all displayNames (value) and the correspondig uids (key)
|
||||
*
|
||||
* Get a list of all display names and user ids.
|
||||
*/
|
||||
|
@ -142,7 +142,7 @@ abstract class OC_User_Backend implements OC_User_Interface {
|
|||
$displayNames = array();
|
||||
$users = $this->getUsers($search, $limit, $offset);
|
||||
foreach ( $users as $user) {
|
||||
$displayNames[$user] = $user;
|
||||
$displayNames[$user] = "foo";
|
||||
}
|
||||
return $displayNames;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue