Skip to content

Commit 862f968

Browse files
nickvergessenbackportbot[bot]
authored andcommitted
fix: Disable imagick preview providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 64327b8 commit 862f968

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/private/PreviewManager.php

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

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

407408
$imagickProviders = [

0 commit comments

Comments
 (0)