Skip to content

Commit 26f69a8

Browse files
committed
Revert "fix: Disable imagick preview providers"
This reverts commit 706fe8f. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
1 parent e8d545e commit 26f69a8

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

2727
public function hasExtension(): bool {
28-
return false;
2928
return !is_null($this->imagick);
3029
}
3130

3231
public function supportsFormat(string $format): bool {
33-
return false;
3432
if (is_null($this->imagick)) {
3533
return false;
3634
}

0 commit comments

Comments
 (0)