Skip to content

Commit 8c57a0e

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

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
@@ -20,12 +20,10 @@ public function __construct(ICacheFactory $cacheFactory) {
2020
}
2121

2222
public function hasExtension(): bool {
23-
return false;
2423
return !is_null($this->imagick);
2524
}
2625

2726
public function supportsFormat(string $format): bool {
28-
return false;
2927
if (is_null($this->imagick)) {
3028
return false;
3129
}

0 commit comments

Comments
 (0)