summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
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()
);
});