Skip to content

Commit 59a9efc

Browse files
Merge pull request #62386 from nextcloud/backport/62145/stable27
[stable27] fix: Disable imagick preview providers
2 parents 1aaab0d + bffeb35 commit 59a9efc

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)