aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-27 23:01:40 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-28 14:11:21 +0200
commit0c5d0c2127d570768453eeb8799b01aecb455228 (patch)
treeee6e7463066ea2397b6263ec6f098010b9ee6f73 /lib/base.php
parentead47610c1283b09daf63f3d59170988d4f29693 (diff)
downloadnextcloud-server-0c5d0c2127d570768453eeb8799b01aecb455228.tar.gz
nextcloud-server-0c5d0c2127d570768453eeb8799b01aecb455228.zip
fix: Migrate collaboration listener and remove legacy adapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index ed62494ab30..2dd9a4d59f0 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -67,7 +67,6 @@ declare(strict_types=1);
*/
use OC\Encryption\HookManager;
-use OC\EventDispatcher\SymfonyAdapter;
use OC\Share20\Hooks;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Group\Events\UserRemovedEvent;
@@ -939,7 +938,7 @@ class OC {
}
private static function registerResourceCollectionHooks(): void {
- \OC\Collaboration\Resources\Listener::register(Server::get(SymfonyAdapter::class), Server::get(IEventDispatcher::class));
+ \OC\Collaboration\Resources\Listener::register(Server::get(IEventDispatcher::class));
}
private static function registerFileReferenceEventListener(): void {