summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-11-18 20:45:29 +0100
committerGitHub <noreply@github.com>2016-11-18 20:45:29 +0100
commit46768e71d9601546d13252bd885ce9e532018e16 (patch)
treec4b5d53930d34222db4db3a2976da13bf5a616b6 /lib/private/Server.php
parent332eaec4c01356d0b2119d4ec8fe07fa492d031b (diff)
parent99ada40df48af18396b8a99363832b1bffc58d37 (diff)
downloadnextcloud-server-46768e71d9601546d13252bd885ce9e532018e16.tar.gz
nextcloud-server-46768e71d9601546d13252bd885ce9e532018e16.zip
Merge pull request #2076 from nextcloud/log_preview_access
Dispatch event on preview request
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 c6cfa018be5..1d3d588e9fc 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -123,7 +123,8 @@ class Server extends ServerContainer implements IServerContainer {
return new PreviewManager(
$c->getConfig(),
$c->getRootFolder(),
- $c->getAppDataDir('preview')
+ $c->getAppDataDir('preview'),
+ $c->getEventDispatcher()
);
});