aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/PreviewController.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-10-14 21:21:37 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-03 14:00:33 +0100
commitd6f1287ae6407a8f1ef0d018fe197e0f920ed192 (patch)
treedb743f2c5022a00366fc45cb950aa8c1c6460317 /core/Controller/PreviewController.php
parent02525fd98bb3994199ebd877968574610f6898ee (diff)
downloadnextcloud-server-d6f1287ae6407a8f1ef0d018fe197e0f920ed192.tar.gz
nextcloud-server-d6f1287ae6407a8f1ef0d018fe197e0f920ed192.zip
Move file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Controller/PreviewController.php')
-rw-r--r--core/Controller/PreviewController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/PreviewController.php b/core/Controller/PreviewController.php
index 2dd62a2cecf..425617813fa 100644
--- a/core/Controller/PreviewController.php
+++ b/core/Controller/PreviewController.php
@@ -109,7 +109,7 @@ class PreviewController extends Controller {
return new DataResponse([], Http::STATUS_FORBIDDEN);
}
- $preview = new \OC\Preview2(
+ $preview = new \OC\Preview\Generator(
$this->root,
$this->config,
$this->previewManager,