diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-12-20 16:48:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 16:48:07 +0100 |
commit | f6ff717b56ac9fa69e60991e982dfdd4c26a95f3 (patch) | |
tree | e2095fcda4ff53d33a91bfd983d8f9d78a83a89e /apps/user_ldap/lib/Group_Proxy.php | |
parent | 1db0ddee3beb1c41016388cd3d11cf0232f6030d (diff) | |
parent | 341dda1de618ee76a1e617cc4c15267c120d32c3 (diff) | |
download | nextcloud-server-f6ff717b56ac9fa69e60991e982dfdd4c26a95f3.tar.gz nextcloud-server-f6ff717b56ac9fa69e60991e982dfdd4c26a95f3.zip |
Merge pull request #34772 from nextcloud/fix/clean-ldap-access-factory-usage
Make sure to use AccessFactory to create Access instances and use DI
Diffstat (limited to 'apps/user_ldap/lib/Group_Proxy.php')
-rw-r--r-- | apps/user_ldap/lib/Group_Proxy.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index f8bdae67b72..c8c986318ec 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -39,8 +39,13 @@ class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGet private GroupPluginManager $groupPluginManager; private bool $isSetUp = false; - public function __construct(Helper $helper, ILDAPWrapper $ldap, GroupPluginManager $groupPluginManager) { - parent::__construct($ldap); + public function __construct( + Helper $helper, + ILDAPWrapper $ldap, + AccessFactory $accessFactory, + GroupPluginManager $groupPluginManager + ) { + parent::__construct($ldap, $accessFactory); $this->helper = $helper; $this->groupPluginManager = $groupPluginManager; } |