summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-07-09 11:02:20 +0200
committerJulius Härtl <jus@bitgrid.net>2019-07-09 11:02:20 +0200
commit5030d15e2532e10b8ebcb3c20cf8baf68e559b39 (patch)
treea3a69f6ec028925dfd909dbbd316fec1b7eecc56 /lib/private/Preview
parente19c1a036f1c621cb37e8175786f5f6e2341571f (diff)
downloadnextcloud-server-5030d15e2532e10b8ebcb3c20cf8baf68e559b39.tar.gz
nextcloud-server-5030d15e2532e10b8ebcb3c20cf8baf68e559b39.zip
Fix ProviderV1Adapter isAvailable wrapper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Preview')
-rw-r--r--lib/private/Preview/ProviderV1Adapter.php2
1 files changed, 1 insertions, 1 deletions
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 {