diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 16:20:27 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 16:44:43 +0100 |
commit | c565a7b0429be19e98e42599c8ab7b6e4a46dc8d (patch) | |
tree | 09171a276df2ad760a59ed8c8e21905923725e30 /lib/private/util.php | |
parent | 9ec2850c78e673a4aa1c4af97aa5be4414bd438f (diff) | |
download | nextcloud-server-c565a7b0429be19e98e42599c8ab7b6e4a46dc8d.tar.gz nextcloud-server-c565a7b0429be19e98e42599c8ab7b6e4a46dc8d.zip |
Fix failing unit test :skull:
Diffstat (limited to 'lib/private/util.php')
-rw-r--r-- | lib/private/util.php | 2 |
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 |