Skip to content

Commit 887af37

Browse files
Claus-Justus Heinetcitworld
Claus-Justus Heine
authored andcommitted
Remove explicit hookmanager-query, already passed as argument
Signed-off-by: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
1 parent 1ef937c commit 887af37

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/dav/lib/AppInfo/Application.php

-4
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@ public function registerHooks(HookManager $hm,
216216
EventDispatcherInterface $dispatcher,
217217
IAppContainer $container,
218218
IServerContainer $serverContainer) {
219-
/** @var HookManager $hm */
220-
$hm = $this->getContainer()->query(HookManager::class);
221-
$hm->setup();
222-
223219
// first time login event setup
224220
$dispatcher->addListener(IUser::class . '::firstLogin', function ($event) use ($hm) {
225221
if ($event instanceof GenericEvent) {

0 commit comments

Comments
 (0)