diff options
author | Baptiste Fotia <fotia.baptiste@hotmail.com> | 2022-09-26 11:27:33 +0300 |
---|---|---|
committer | Baptiste Fotia <fotia.baptiste@hotmail.com> | 2022-09-26 11:27:33 +0300 |
commit | bf4b884b294c0c98383384353bbd529669ae3547 (patch) | |
tree | c3e618a2ada91994c710c129387b9333a38cf463 /lib | |
parent | 924e258e104da6c70bb6ecc925755febd94a8f4b (diff) |
fix(PHP): Stop injecting DelegationService
Following Carl's remark
Link: https://github.com/nextcloud/groupfolders/pull/2072#discussion_r969935643
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AppInfo/Application.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 82467d7b..dee577c7 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -193,14 +193,6 @@ class Application extends App implements IBootstrap { $context->registerServiceAlias(IUserMappingManager::class, UserMappingManager::class); - // Services and middleware needed to control accesses to the application and its API's - $context->registerService('DelegationService', function ($c) { - return new DelegationService( - $c->query(IConfig::class), - $c->query(IGroupManager::class), - $c->query(IUserSession::class) - ); - }); $context->registerService('AuthorizedAdminSettingMiddleware', function ($c) { return new AuthorizedAdminSettingMiddleware( $c->query(IControllerMethodReflector::class), |