Skip to content

Commit 86a1c20

Browse files
Altahrimbackportbot[bot]
authored andcommitted
Revert "fix: Disable imagick preview providers"
Revert "fix: Disable imagick preview providers" This reverts commit 706fe8f. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> [skip ci]
1 parent 2358229 commit 86a1c20

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/private/Preview/IMagickSupport.php

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

2626
public function hasExtension(): bool {
27-
return false;
2827
return !is_null($this->imagick);
2928
}
3029

3130
public function supportsFormat(string $format): bool {
32-
return false;
3331
if (is_null($this->imagick)) {
3432
return false;
3533
}

0 commit comments

Comments
 (0)