aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/GroupPluginManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/GroupPluginManager.php')
-rw-r--r--apps/user_ldap/lib/GroupPluginManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/GroupPluginManager.php b/apps/user_ldap/lib/GroupPluginManager.php
index d99e17d7673..92bf0cb8888 100644
--- a/apps/user_ldap/lib/GroupPluginManager.php
+++ b/apps/user_ldap/lib/GroupPluginManager.php
@@ -24,6 +24,7 @@
namespace OCA\User_LDAP;
use OCP\GroupInterface;
+use Psr\Log\LoggerInterface;
class GroupPluginManager {
private int $respondToActions = 0;
@@ -58,7 +59,7 @@ class GroupPluginManager {
foreach ($this->which as $action => $v) {
if ((bool)($respondToActions & $action)) {
$this->which[$action] = $plugin;
- \OC::$server->getLogger()->debug("Registered action ".$action." to plugin ".get_class($plugin), ['app' => 'user_ldap']);
+ \OCP\Server::get(LoggerInterface::class)->debug("Registered action ".$action." to plugin ".get_class($plugin), ['app' => 'user_ldap']);
}
}
}