summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobia De Koninck <tobia@ledfan.be>2017-07-02 14:20:44 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-09-15 14:31:40 +0200
commitfa402c74d22c5bbf9a8be27bbbfbb0aed678983c (patch)
treea7af03555075fb18926bc796cf3a3f698e5d85a9 /lib
parent473a1ecad1e310603f08e1883d29d92463d61653 (diff)
downloadnextcloud-server-fa402c74d22c5bbf9a8be27bbbfbb0aed678983c.tar.gz
nextcloud-server-fa402c74d22c5bbf9a8be27bbbfbb0aed678983c.zip
Add tests
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Contacts/ContactsMenu/ContactsStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php
index 32bcb58ccda..52061fbb3d4 100644
--- a/lib/private/Contacts/ContactsMenu/ContactsStore.php
+++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php
@@ -92,7 +92,7 @@ class ContactsStore {
$excludedGroups = $this->config->getAppValue('core', 'shareapi_exclude_groups', 'no') === 'yes' ? true : false;
$skipLocal = false; // whether to filter out local users
- $ownGroupsOnly = Share::shareWithGroupMembersOnly(); // whether to filter out all users which doesn't have the same group as the current user
+ $ownGroupsOnly = $this->config->getAppValue('core', 'shareapi_only_share_with_group_members', 'no') === 'yes' ? true : false; // whether to filter out all users which doesn't have the same group as the current user
$selfGroups = $this->groupManager->getUserGroupIds($self);