summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-19 16:20:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-19 16:44:43 +0100
commitc565a7b0429be19e98e42599c8ab7b6e4a46dc8d (patch)
tree09171a276df2ad760a59ed8c8e21905923725e30 /lib/private
parent9ec2850c78e673a4aa1c4af97aa5be4414bd438f (diff)
downloadnextcloud-server-c565a7b0429be19e98e42599c8ab7b6e4a46dc8d.tar.gz
nextcloud-server-c565a7b0429be19e98e42599c8ab7b6e4a46dc8d.zip
Fix failing unit test :skull:
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 8e3a0302513..e48cdd4d9fc 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -237,7 +237,7 @@ class OC_Util {
$newValue = json_encode($excludedGroups);
$config->setAppValue('core', 'shareapi_exclude_groups_list', $newValue);
}
- $usersGroups = $groupManager->getUserGroups($user);
+ $usersGroups = $groupManager->getUserGroupIds($user);
if (!empty($usersGroups)) {
$remainingGroups = array_diff($usersGroups, $excludedGroups);
// if the user is only in groups which are disabled for sharing then