diff options
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 6186e29bd6d..b5c5845b5a0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -762,6 +762,7 @@ class OC { self::registerAccountHooks(); self::registerResourceCollectionHooks(); self::registerFileReferenceEventListener(); + self::registerRenderReferenceEventListener(); self::registerAppRestrictionsHooks(); // Make sure that the application class is not loaded before the database is setup @@ -925,6 +926,10 @@ class OC { \OC\Collaboration\Reference\File\FileReferenceEventListener::register(Server::get(IEventDispatcher::class)); } + private static function registerRenderReferenceEventListener() { + \OC\Collaboration\Reference\RenderReferenceEventListener::register(Server::get(IEventDispatcher::class)); + } + /** * register hooks for sharing */ |