aboutsummaryrefslogtreecommitdiffstats
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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Migration/UUIDFixUser.php b/apps/user_ldap/lib/Migration/UUIDFixUser.php
index c53f566f64e..c62e4c53e50 100644
--- a/apps/user_ldap/lib/Migration/UUIDFixUser.php
+++ b/apps/user_ldap/lib/Migration/UUIDFixUser.php
@@ -26,6 +26,7 @@
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\Mapping\UserMapping;
@@ -34,7 +35,7 @@ use OCP\IConfig;
class UUIDFixUser extends UUIDFix {
public function __construct(UserMapping $mapper, LDAP $ldap, IConfig $config, Helper $helper) {
$this->mapper = $mapper;
- $groupPluginManager = \OC::$server->query('LDAPGroupPluginManager');
+ $groupPluginManager = \OC::$server->query(GroupPluginManager::class);
$this->proxy = new Group_Proxy($helper->getServerConfigurationPrefixes(true), $ldap, $groupPluginManager);
}
}