summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-10 14:04:59 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-10 14:28:09 +0100
commit99ada40df48af18396b8a99363832b1bffc58d37 (patch)
treecb517371491f913f1a3dc4969d7aa0d7061e4bb5 /lib/private/Server.php
parentcfda17d8f3c55cbbd8decb134c82c499e3c2c2f4 (diff)
downloadnextcloud-server-99ada40df48af18396b8a99363832b1bffc58d37.tar.gz
nextcloud-server-99ada40df48af18396b8a99363832b1bffc58d37.zip
Dispatch event on preview request
Fixes: #73 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 79efeb18d17..995dc8ed4a4 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -121,7 +121,8 @@ class Server extends ServerContainer implements IServerContainer {
return new PreviewManager(
$c->getConfig(),
$c->getRootFolder(),
- $c->getAppDataDir('preview')
+ $c->getAppDataDir('preview'),
+ $c->getEventDispatcher()
);
});