summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Migration/UUIDFixUser.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Migration/UUIDFixUser.php')
-rw-r--r--apps/user_ldap/lib/Migration/UUIDFixUser.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/user_ldap/lib/Migration/UUIDFixUser.php b/apps/user_ldap/lib/Migration/UUIDFixUser.php
index f2be0c5ed96..4ea58c45620 100644
--- a/apps/user_ldap/lib/Migration/UUIDFixUser.php
+++ b/apps/user_ldap/lib/Migration/UUIDFixUser.php
@@ -26,17 +26,12 @@
namespace OCA\User_LDAP\Migration;
-use OCA\User_LDAP\Group_Proxy;
-use OCA\User_LDAP\GroupPluginManager;
-use OCA\User_LDAP\Helper;
-use OCA\User_LDAP\LDAP;
+use OCA\User_LDAP\User_Proxy;
use OCA\User_LDAP\Mapping\UserMapping;
-use OCP\IConfig;
class UUIDFixUser extends UUIDFix {
- public function __construct(UserMapping $mapper, LDAP $ldap, IConfig $config, Helper $helper) {
+ public function __construct(UserMapping $mapper, User_Proxy $proxy) {
$this->mapper = $mapper;
- $groupPluginManager = \OC::$server->query(GroupPluginManager::class);
- $this->proxy = new Group_Proxy($helper->getServerConfigurationPrefixes(true), $ldap, $groupPluginManager);
+ $this->proxy = $proxy;
}
}