From 9bbfb5ffebf50e936b185e4e8dfea0b3c4449de5 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 4 Jan 2017 16:51:44 +0100 Subject: Rewrite old preview endpoint for PreviewManager Signed-off-by: Roeland Jago Douma --- lib/private/Server.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/private/Server.php') 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') ); }); -- cgit v1.2.3