From abcbf8759e325604ddd90d01e0dfc168e8306910 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 26 Jul 2022 20:13:23 +0200 Subject: [PATCH] app/library/Services.php: Don't need to call setEventsManager() on auth service anymore. --- app/library/Services.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/library/Services.php b/app/library/Services.php index 4dbd124..b3a5af7 100644 --- a/app/library/Services.php +++ b/app/library/Services.php @@ -346,9 +346,7 @@ class Services extends DiDefault protected function _initAuth() { - $auth = new Auth($this->get('config')); - $auth->setEventsManager($this->get('eventsManager')); - return $auth; + return new Auth($this->get('config')); } protected function _initAcl()