diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-06-01 14:18:14 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-06-01 14:18:14 +0200 |
commit | ad6562d14fabb0822e197e2ed70e4a3f8c02e23f (patch) | |
tree | 541098ceacda30d6192b840a76d27d3c2b27f510 /lib/group.php | |
parent | a4f177d75d28649af21bc33975259e6d19cae634 (diff) | |
download | nextcloud-server-ad6562d14fabb0822e197e2ed70e4a3f8c02e23f.tar.gz nextcloud-server-ad6562d14fabb0822e197e2ed70e4a3f8c02e23f.zip |
sort users and groups. fixes oc-779
Diffstat (limited to 'lib/group.php')
-rw-r--r-- | lib/group.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/group.php b/lib/group.php index a78eb51fff0..7967e1a581b 100644 --- a/lib/group.php +++ b/lib/group.php @@ -233,6 +233,7 @@ class OC_Group { $groups=array_merge($backend->getUserGroups($uid),$groups); } + asort($groups); return $groups; } @@ -250,6 +251,7 @@ class OC_Group { $groups=array_merge($backend->getGroups(),$groups); } + asort($groups); return $groups; } |