Fix ProviderV1Adapter isAvailable wrapper

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-07-09 11:02:20 +02:00
parent e19c1a036f
commit 5030d15e25
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View 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 {