aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/PreviewController.php
diff options
context:
space:
mode:
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,