summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/PDF.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/PDF.php')
-rw-r--r--lib/private/Preview/PDF.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Preview/PDF.php b/lib/private/Preview/PDF.php
index 405fd1545f9..c387e72dfe3 100644
--- a/lib/private/Preview/PDF.php
+++ b/lib/private/Preview/PDF.php
@@ -31,4 +31,11 @@ class PDF extends Bitmap {
public function getMimeType(): string {
return '/application\/pdf/';
}
+
+ /**
+ * {@inheritDoc}
+ */
+ protected function getAllowedMimeTypes(): string {
+ return '/application\/pdf/';
+ }
}