summaryrefslogtreecommitdiffstats
path: root/lib/group.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-06-01 14:18:14 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-06-01 14:18:14 +0200
commitad6562d14fabb0822e197e2ed70e4a3f8c02e23f (patch)
tree541098ceacda30d6192b840a76d27d3c2b27f510 /lib/group.php
parenta4f177d75d28649af21bc33975259e6d19cae634 (diff)
downloadnextcloud-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.php2
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;
}