From 5030d15e2532e10b8ebcb3c20cf8baf68e559b39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julius=20H=C3=A4rtl?= <jus@bitgrid.net>
Date: Tue, 9 Jul 2019 11:02:20 +0200
Subject: [PATCH] Fix ProviderV1Adapter isAvailable wrapper
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Julius Härtl <jus@bitgrid.net>
---
 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 {
-- 
GitLab