]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix ProviderV1Adapter isAvailable wrapper 16307/head
authorJulius Härtl <jus@bitgrid.net>
Tue, 9 Jul 2019 09:02:20 +0000 (11:02 +0200)
committerJulius Härtl <jus@bitgrid.net>
Tue, 9 Jul 2019 09:02:20 +0000 (11:02 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/private/Preview/ProviderV1Adapter.php

index fc7245a5876278a89685730040fb1f95c68b2d20..903a7904bf848c404e1135a4db03afd529640e1f 100644 (file)
@@ -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 {