diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-28 13:10:54 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-28 13:10:54 +0100 |
commit | 996b5cf36898a3b7644eca568df453b9d6cc4808 (patch) | |
tree | ed7233b46a09e8cfcf244f39d3c951116979a829 /lib/user | |
parent | 19024de9883e89f325a6581805bacc6376c93628 (diff) | |
download | nextcloud-server-996b5cf36898a3b7644eca568df453b9d6cc4808.tar.gz nextcloud-server-996b5cf36898a3b7644eca568df453b9d6cc4808.zip |
change order, key -> uid and value -> display name, this way it is also possible to have non-unique display names
Diffstat (limited to 'lib/user')
-rw-r--r-- | lib/user/backend.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/user/backend.php b/lib/user/backend.php index ec43d7f1872..fe37a64cc03 100644 --- a/lib/user/backend.php +++ b/lib/user/backend.php @@ -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;
} |