summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/ajax/preview.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/ajax/preview.php b/core/ajax/preview.php
index d85dff7632f..a1267d6f5cf 100644
--- a/core/ajax/preview.php
+++ b/core/ajax/preview.php
@@ -26,7 +26,6 @@ if($maxX === 0 || $maxY === 0) {
exit;
}
-
try{
$preview = new \OC\Preview(\OC_User::getUser(), 'files');
$preview->setFile($file);