summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-01-04 16:51:44 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-01-04 16:51:44 +0100
commit9bbfb5ffebf50e936b185e4e8dfea0b3c4449de5 (patch)
treec054d941f8aba2ea59ba44b2deecd4016c290575 /lib/private/Server.php
parent9dbcc1a177ea490d20c49186a8f8090342ecb5a9 (diff)
downloadnextcloud-server-9bbfb5ffebf50e936b185e4e8dfea0b3c4449de5.tar.gz
nextcloud-server-9bbfb5ffebf50e936b185e4e8dfea0b3c4449de5.zip
Rewrite old preview endpoint for PreviewManager
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 5bc72e3614f..06be694622a 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -124,7 +124,8 @@ class Server extends ServerContainer implements IServerContainer {
$c->getConfig(),
$c->getRootFolder(),
$c->getAppDataDir('preview'),
- $c->getEventDispatcher()
+ $c->getEventDispatcher(),
+ $c->getSession()->get('user_id')
);
});