]> source.dussan.org Git - nextcloud-server.git/commitdiff
change order, key -> uid and value -> display name, this way it is also possible...
authorBjörn Schießle <schiessle@owncloud.com>
Mon, 28 Jan 2013 12:10:54 +0000 (13:10 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Mon, 28 Jan 2013 12:10:54 +0000 (13:10 +0100)
lib/user/backend.php

index ec43d7f1872a7b435023e486eae1c500a579bea8..fe37a64cc033b1a276743880d2ad278816c22574 100644 (file)
@@ -134,7 +134,7 @@ abstract class OC_User_Backend implements OC_User_Interface {
        
        /**\r
         * @brief Get a list of all display names\r
-        * @returns array with  all displayNames (key) and the correspondig uids (value)\r
+        * @returns array with  all displayNames (value) and the correspondig uids (key)\r
         *\r
         * Get a list of all display names and user ids.\r
         */\r
@@ -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;\r
        }