Skip to content

Commit 5d41417

Browse files
Merge pull request #62148 from nextcloud/backport/62145/stable33
[stable33] fix: Disable imagick preview providers
2 parents 3ebda54 + 20ada96 commit 5d41417

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
@@ -24,10 +24,12 @@ public function __construct(ICacheFactory $cacheFactory) {
2424
}
2525

2626
public function hasExtension(): bool {
27+
return false;
2728
return !is_null($this->imagick);
2829
}
2930

3031
public function supportsFormat(string $format): bool {
32+
return false;
3133
if (is_null($this->imagick)) {
3234
return false;
3335
}

0 commit comments

Comments
 (0)