diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-09-12 17:42:57 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-09-26 23:10:23 +0200 |
commit | dd9e191d373217b2a07e4ac5b2cc294c0a6227a1 (patch) | |
tree | 651d723a1fa008866284b08eb5997a2fe8d3d79b /lib/private/Collaboration | |
parent | f446ec83dd9275d592407a65d06496577371f7b5 (diff) | |
download | nextcloud-server-dd9e191d373217b2a07e4ac5b2cc294c0a6227a1.tar.gz nextcloud-server-dd9e191d373217b2a07e4ac5b2cc294c0a6227a1.zip |
split off getUsers unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r-- | lib/private/Collaboration/Collaborators/UserPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Collaboration/Collaborators/UserPlugin.php b/lib/private/Collaboration/Collaborators/UserPlugin.php index 6d2709f8bd0..86a55aa428f 100644 --- a/lib/private/Collaboration/Collaborators/UserPlugin.php +++ b/lib/private/Collaboration/Collaborators/UserPlugin.php @@ -50,12 +50,12 @@ class UserPlugin implements ISearchPlugin { public function __construct(IConfig $config, IUserManager $userManager, IGroupManager $groupManager, IUserSession $userSession) { $this->config = $config; - - $this->shareWithGroupOnly = $this->config->getAppValue('core', 'shareapi_only_share_with_group_members', 'no') === 'yes'; + $this->groupManager = $groupManager; $this->userSession = $userSession; $this->userManager = $userManager; + $this->shareWithGroupOnly = $this->config->getAppValue('core', 'shareapi_only_share_with_group_members', 'no') === 'yes'; $this->shareeEnumeration = $this->config->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes') === 'yes'; } |