Skip to content

Commit bffeb35

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/private/Preview/IMagickSupport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ public function __construct(ICacheFactory $cacheFactory) {
2020
}
2121

2222
public function hasExtension(): bool {
23+
return false;
2324
return !is_null($this->imagick);
2425
}
2526

2627
public function supportsFormat(string $format): bool {
28+
return false;
2729
if (is_null($this->imagick)) {
2830
return false;
2931
}

0 commit comments

Comments
 (0)