diff options
author | Glandos <bugs-github@antipoul.fr> | 2022-11-02 21:35:54 +0100 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2023-04-17 16:29:13 +0200 |
commit | 24c121347a402e26bafb6366ff7854f488d1b8b5 (patch) | |
tree | 5769314a121addaf7f44e30975829c3e5de16a80 /lib/private/Preview | |
parent | 06a7e903830979556e6b582df0c5be648f465da1 (diff) | |
download | nextcloud-server-24c121347a402e26bafb6366ff7854f488d1b8b5.tar.gz nextcloud-server-24c121347a402e26bafb6366ff7854f488d1b8b5.zip |
Revert 0e49b40
Signed-off-by: Glandos <bugs-github@antipoul.fr>
Diffstat (limited to 'lib/private/Preview')
-rw-r--r-- | lib/private/Preview/Generator.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index f5fb46f2c49..a0b955ae2b7 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -208,9 +208,6 @@ class Generator { if ($maxPreviewImage === null) { $maxPreviewImage = $this->helper->getImage($maxPreview); } - if ($maxPreviewImage === null) { - throw new NotFoundException(); - } $preview = $this->generatePreview($previewFolder, $maxPreviewImage, $width, $height, $crop, $maxWidth, $maxHeight, $previewVersion); // New file, augment our array |