diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-07-03 12:02:31 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-07-05 13:57:46 +0200 |
commit | 4505afe18478274fcdbaf55109a7fbd6699f71de (patch) | |
tree | 25cfb812615ae1ef51b86222dda3771e5c3cff50 /lib/private/Preview | |
parent | eaabe97373baa68b5e3c396bf8e1f5a3f17ac1b6 (diff) | |
download | nextcloud-server-4505afe18478274fcdbaf55109a7fbd6699f71de.tar.gz nextcloud-server-4505afe18478274fcdbaf55109a7fbd6699f71de.zip |
Allow IProviderV2 for previews as well
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Preview')
-rw-r--r-- | lib/private/Preview/Generator.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php index 2f9401af385..f9c020389f9 100644 --- a/lib/private/Preview/Generator.php +++ b/lib/private/Preview/Generator.php @@ -25,6 +25,7 @@ namespace OC\Preview; +use OC\Preview\GeneratorHelper; use OCP\Files\File; use OCP\Files\IAppData; use OCP\Files\NotFoundException; @@ -34,9 +35,7 @@ use OCP\Files\SimpleFS\ISimpleFolder; use OCP\IConfig; use OCP\IImage; use OCP\IPreview; -use OCP\Preview\IProvider; use OCP\Preview\IProviderV2; -use OCP\Preview\IVersionedPreviewFile; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; |