Skip to content

Commit e400d8a

Browse files
committed
fix: DavPluging arguments
Signed-off-by: Carl Schwan <carlschwan@kde.org>
1 parent 17d5580 commit e400d8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/AppInfo/Application.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use OCP\AppFramework\Bootstrap\IBootstrap;
3030
use OCP\AppFramework\Bootstrap\IRegistrationContext;
3131
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;
32+
use OCP\AppFramework\Services\IAppConfig;
3233
use OCP\EventDispatcher\IEventDispatcher;
3334
use OCP\IConfig;
3435
use OCP\IDBConnection;
@@ -64,7 +65,7 @@ public function register(IRegistrationContext $context): void {
6465
$context->registerEventListener(UserLoggedInEvent::class, LoginEventListener::class);
6566
$context->registerService(DavPlugin::class, fn (ContainerInterface $c) => new DavPlugin(
6667
$c->get(ISession::class),
67-
$c->get(IConfig::class),
68+
$c->get(IAppConfig::class),
6869
$_SERVER,
6970
$c->get(SAMLSettings::class),
7071
$c->get(SessionService::class),

0 commit comments

Comments
 (0)