summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/Controller/PreviewController.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_trashbin/lib/Controller/PreviewController.php b/apps/files_trashbin/lib/Controller/PreviewController.php
index 1e1f68e4317..c73b1c17c16 100644
--- a/apps/files_trashbin/lib/Controller/PreviewController.php
+++ b/apps/files_trashbin/lib/Controller/PreviewController.php
@@ -114,11 +114,6 @@ class PreviewController extends Controller {
return new Http\FileDisplayResponse($f, Http::STATUS_OK, ['Content-Type' => $f->getMimeType()]);
} catch (NotFoundException $e) {
return new DataResponse([], Http::STATUS_NOT_FOUND);
- } catch (\OC\PreviewNotAvailableException $e) {
- return new DataResponse([], Http::STATUS_NOT_FOUND);
- }catch(\Exception $e) {
- return new DataResponse([], Http::STATUS_INTERNAL_SERVER_ERROR);
}
-
}
}