From: Julius Härtl Date: Tue, 9 Jul 2019 09:02:20 +0000 (+0200) Subject: Fix ProviderV1Adapter isAvailable wrapper X-Git-Tag: v17.0.0beta1~179^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F16307%2Fhead;p=nextcloud-server.git Fix ProviderV1Adapter isAvailable wrapper Signed-off-by: Julius Härtl --- 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 {