summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/ajax/userautocomplete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/ajax/userautocomplete.php b/apps/files_sharing/ajax/userautocomplete.php
index c6519cc6b50..6da7afb659c 100644
--- a/apps/files_sharing/ajax/userautocomplete.php
+++ b/apps/files_sharing/ajax/userautocomplete.php
@@ -10,7 +10,7 @@ if (!OC_User::isLoggedIn()) {
$users = array();
$ocusers = OC_User::getUsers();
$self = OC_User::getUser();
-$groups = OC_GROUP::getUserGroups($self);
+$groups = OC_Group::getUserGroups($self);
$users[] = "<optgroup label='Users'>";
foreach ($ocusers as $user) {
if ($user != $self) {