diff options
author | Louis <louis@chmn.me> | 2023-11-08 17:58:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 17:58:20 +0100 |
commit | 77c95503531f38980841d9661d8d3bba484debb6 (patch) | |
tree | 5ecb8147d122273373cdda5979d2a80a7ec868cc /core | |
parent | d751baee369c8ac70d16ebf80e365990010589a3 (diff) | |
parent | d3a313f192c090d026bac1fd1a8aed718d54c634 (diff) | |
download | nextcloud-server-77c95503531f38980841d9661d8d3bba484debb6.tar.gz nextcloud-server-77c95503531f38980841d9661d8d3bba484debb6.zip |
Merge pull request #40964 from nextcloud/artonge/feat/metadata/port_providers
Support dynamic metadata request on PROPFIND requests
Diffstat (limited to 'core')
-rw-r--r-- | core/Application.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/core/Application.php b/core/Application.php index ca9b6ce2d8c..2ad8b9f2a30 100644 --- a/core/Application.php +++ b/core/Application.php @@ -44,7 +44,6 @@ use OC\Authentication\Listeners\UserDeletedWebAuthnCleanupListener; use OC\Authentication\Notifications\Notifier as AuthenticationNotifier; use OC\Core\Listener\BeforeTemplateRenderedListener; use OC\Core\Notification\CoreNotifier; -use OC\Metadata\FileEventListener; use OC\TagManager; use OCP\AppFramework\App; use OCP\AppFramework\Http\Events\BeforeLoginTemplateRenderedEvent; @@ -54,13 +53,9 @@ use OCP\DB\Events\AddMissingIndicesEvent; use OCP\DB\Events\AddMissingPrimaryKeyEvent; use OCP\DB\Types; use OCP\EventDispatcher\IEventDispatcher; -use OCP\Files\Events\Node\NodeDeletedEvent; -use OCP\Files\Events\Node\NodeWrittenEvent; -use OCP\Files\Events\NodeRemovedFromCache; use OCP\User\Events\BeforeUserDeletedEvent; use OCP\User\Events\UserDeletedEvent; use OCP\Util; -use OCP\IConfig; /** * Class Application @@ -331,18 +326,6 @@ class Application extends App { $eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedFilesCleanupListener::class); $eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedWebAuthnCleanupListener::class); - // Metadata - /** @var IConfig $config */ - $config = $container->get(IConfig::class); - if ($config->getSystemValueBool('enable_file_metadata', true)) { - /** @psalm-suppress InvalidArgument */ - $eventDispatcher->addServiceListener(NodeDeletedEvent::class, FileEventListener::class); - /** @psalm-suppress InvalidArgument */ - $eventDispatcher->addServiceListener(NodeRemovedFromCache::class, FileEventListener::class); - /** @psalm-suppress InvalidArgument */ - $eventDispatcher->addServiceListener(NodeWrittenEvent::class, FileEventListener::class); - } - // Tags $eventDispatcher->addServiceListener(UserDeletedEvent::class, TagManager::class); } |