diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-10 14:04:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-10 14:28:09 +0100 |
commit | 99ada40df48af18396b8a99363832b1bffc58d37 (patch) | |
tree | cb517371491f913f1a3dc4969d7aa0d7061e4bb5 /lib/private/Server.php | |
parent | cfda17d8f3c55cbbd8decb134c82c499e3c2c2f4 (diff) | |
download | nextcloud-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.php | 3 |
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() ); }); |