summaryrefslogtreecommitdiffstats
path: root/lib/private/PreviewManager.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-08 14:35:35 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-08 19:37:45 +0200
commitade61d8b433be7d1ebcc4e50e718993a125b97f1 (patch)
tree5e87cff46e68cdd11632628c0760242cfab2cc22 /lib/private/PreviewManager.php
parent7971ba5cc66201830e5b4b141d2478efa2257c75 (diff)
downloadnextcloud-server-ade61d8b433be7d1ebcc4e50e718993a125b97f1.tar.gz
nextcloud-server-ade61d8b433be7d1ebcc4e50e718993a125b97f1.zip
Allow the creationg of previews of files stored in appdata
To allow us to create previews of files stored in appdata we need to construct the view differently. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/PreviewManager.php')
-rw-r--r--lib/private/PreviewManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php
index de03861badc..931b0035c4f 100644
--- a/lib/private/PreviewManager.php
+++ b/lib/private/PreviewManager.php
@@ -195,7 +195,8 @@ class PreviewManager implements IPreview {
$this,
$this->appData,
new GeneratorHelper(
- $this->rootFolder
+ $this->rootFolder,
+ $this->config
),
$this->eventDispatcher
);