Skip to content

Commit 01cf570

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

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
@@ -389,7 +389,8 @@ protected function registerCoreProviders() {
389389
$this->registerCoreProvider(Preview\OpenDocument::class, '/application\/vnd.oasis.opendocument.*/');
390390

391391
// SVG, Office and Bitmap require imagick
392-
if (extension_loaded('imagick')) {
392+
/** @psalm-suppress TypeDoesNotContainType */
393+
if (false) {
393394
$checkImagick = new \Imagick();
394395

395396
$imagickProviders = [

0 commit comments

Comments
 (0)