summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/AppInfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-07-15 15:01:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-07-18 13:35:35 +0200
commit1c5e082ee145815a13a0dadbc7e9fb0e49ae2f0f (patch)
tree1788a32926333f46d776159e08f1e77a4137d6d2 /apps/files_sharing/lib/AppInfo
parentea3035aa0e2d4b58532a127c7f3dbe0b41470a33 (diff)
downloadnextcloud-server-1c5e082ee145815a13a0dadbc7e9fb0e49ae2f0f.tar.gz
nextcloud-server-1c5e082ee145815a13a0dadbc7e9fb0e49ae2f0f.zip
Add eventdispatcher to public link view
Diffstat (limited to 'apps/files_sharing/lib/AppInfo')
-rw-r--r--apps/files_sharing/lib/AppInfo/Application.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php
index 5ed8d886e2e..b91b0f3ef6e 100644
--- a/apps/files_sharing/lib/AppInfo/Application.php
+++ b/apps/files_sharing/lib/AppInfo/Application.php
@@ -59,7 +59,8 @@ class Application extends App {
$server->getSession(),
$server->getPreviewManager(),
$server->getRootFolder(),
- $federatedSharingApp->getFederatedShareProvider()
+ $federatedSharingApp->getFederatedShareProvider(),
+ $server->getEventDispatcher()
);
});
$container->registerService('ExternalSharesController', function (SimpleContainer $c) {