[BUGFIX] Use DriverInterface instead AbstractDriver for method signature 14/53714/3
authorFranz Koch <typo3@elements-net.de>
Sat, 12 Aug 2017 08:14:28 +0000 (10:14 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 18 Aug 2017 05:55:21 +0000 (07:55 +0200)
commit5dac1cf40015d57640296df7f5e74d1faff3798e
tree7fdb32ed37985ec9c515eb16481004e74d83a81e
parent8f8c26ac3dc4289271d1320526599a1889d4fd60
[BUGFIX] Use DriverInterface instead AbstractDriver for method signature

FAL drivers are not obligated to extend the AbstractDriver but only
to implement the DriverInterface. Having custom drivers that are not
based on AbstractDriver (because they are f.e. non hierarchical)
currently causes an Exception because PreviewProcessing expects an
instance of AbstractDriver as method argument.

This patch changes te signature from AbstractDriver to DriverInterface.

Resolves: #82114
Releases: master, 8.7, 7.6
Change-Id: Ia27c6c1c7510ecfe5afd0f7d8bedf81bf3d31c84
Reviewed-on: https://review.typo3.org/53714
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php