summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-13 16:33:53 +0200
committerJoas Schilling <coding@schilljs.com>2020-10-20 17:41:47 +0200
commit4bc821edd95a6b71dd99f75632f432d5ccf2853f (patch)
treed6fd460718df9da42b369d1a1f85200517a49bae /lib/base.php
parent851e8c0ded27a6cf8d18f6cf42f2473a6fe2aa8c (diff)
downloadnextcloud-server-4bc821edd95a6b71dd99f75632f432d5ccf2853f.tar.gz
nextcloud-server-4bc821edd95a6b71dd99f75632f432d5ccf2853f.zip
PSR logger for accounts
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index a27e8ffc920..f73d4321bfa 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -854,7 +854,7 @@ class OC {
}
private static function registerAccountHooks() {
- $hookHandler = new \OC\Accounts\Hooks(\OC::$server->getLogger());
+ $hookHandler = new \OC\Accounts\Hooks(\OC::$server->get(\Psr\Log\LoggerInterface::class));
\OCP\Util::connectHook('OC_User', 'changeUser', $hookHandler, 'changeUserHook');
}