Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBaptiste Fotia <fotia.baptiste@hotmail.com>2022-09-26 11:27:33 +0300
committerBaptiste Fotia <fotia.baptiste@hotmail.com>2022-09-26 11:27:33 +0300
commitbf4b884b294c0c98383384353bbd529669ae3547 (patch)
treec3e618a2ada91994c710c129387b9333a38cf463 /lib
parent924e258e104da6c70bb6ecc925755febd94a8f4b (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.php8
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),