From 5030d15e2532e10b8ebcb3c20cf8baf68e559b39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Tue, 9 Jul 2019 11:02:20 +0200 Subject: [PATCH] Fix ProviderV1Adapter isAvailable wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/Preview/ProviderV1Adapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Preview/ProviderV1Adapter.php b/lib/private/Preview/ProviderV1Adapter.php index fc7245a5876..903a7904bf8 100644 --- a/lib/private/Preview/ProviderV1Adapter.php +++ b/lib/private/Preview/ProviderV1Adapter.php @@ -40,7 +40,7 @@ class ProviderV1Adapter implements IProviderV2 { } public function isAvailable(FileInfo $file): bool { - return $this->isAvailable($file); + return $this->providerV1->isAvailable($file); } public function getThumbnail(File $file, int $maxX, int $maxY): ?IImage { -- 2.39.5