aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-30 19:53:12 +0200
committerJulius Härtl <jus@bitgrid.net>2022-08-31 16:24:35 +0200
commit80f6a5834ab9e679c1a0df6a1aee82107ca5cfe3 (patch)
treeb493860f52e4fe7b358ecb91897eb19b7da1caac /lib/base.php
parenta392235e23c3b8af1d0eba4dbac18b18de826a1c (diff)
downloadnextcloud-server-80f6a5834ab9e679c1a0df6a1aee82107ca5cfe3.tar.gz
nextcloud-server-80f6a5834ab9e679c1a0df6a1aee82107ca5cfe3.zip
Refactor cache handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 1fca124f072..055cc6786f0 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -750,6 +750,7 @@ class OC {
self::registerEncryptionWrapperAndHooks();
self::registerAccountHooks();
self::registerResourceCollectionHooks();
+ self::registerFileReferenceEventListener();
self::registerAppRestrictionsHooks();
// Make sure that the application class is not loaded before the database is setup
@@ -912,6 +913,10 @@ class OC {
\OC\Collaboration\Resources\Listener::register(Server::get(SymfonyAdapter::class), Server::get(IEventDispatcher::class));
}
+ private static function registerFileReferenceEventListener() {
+ \OC\Collaboration\Reference\File\FileReferenceEventListener::register(Server::get(IEventDispatcher::class));
+ }
+
/**
* register hooks for the filesystem
*/