diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-30 19:53:12 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-08-31 16:24:35 +0200 |
commit | 80f6a5834ab9e679c1a0df6a1aee82107ca5cfe3 (patch) | |
tree | b493860f52e4fe7b358ecb91897eb19b7da1caac /lib/base.php | |
parent | a392235e23c3b8af1d0eba4dbac18b18de826a1c (diff) | |
download | nextcloud-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.php | 5 |
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 */ |