Skip to content
Snippets Groups Projects
Commit 996b5cf3 authored by Björn Schießle's avatar Björn Schießle
Browse files

change order, key -> uid and value -> display name, this way it is also...

change order, key -> uid and value -> display name, this way it is also possible to have non-unique display names
parent 19024de9
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment