Skip to content

Commit 318688f

Browse files
Altahrimbackportbot[bot]
authored andcommitted
Revert "fix: Disable imagick preview providers"
This reverts commit 432d746. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
1 parent 6a63b62 commit 318688f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/private/PreviewManager.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,7 @@ protected function registerCoreProviders() {
401401
$this->registerCoreProvider(Preview\Imaginary::class, Preview\Imaginary::supportedMimeTypes());
402402

403403
// SVG, Office and Bitmap require imagick
404-
/** @psalm-suppress TypeDoesNotContainType */
405-
if (false) {
404+
if (extension_loaded('imagick')) {
406405
$checkImagick = new \Imagick();
407406

408407
$imagickProviders = [

0 commit comments

Comments
 (0)