[CLEANUP] File object 29/39429/4
authorSascha Egerer <sascha.egerer@dkd.de>
Mon, 11 May 2015 10:29:56 +0000 (12:29 +0200)
committerFrank Nägler <typo3@naegler.net>
Mon, 1 Jun 2015 15:15:49 +0000 (17:15 +0200)
commit6718818a04ef229ac65c8824a2b7268ffe59f1f3
tree5882e0cd340897ebd7852ef5342fee06f7067889
parent58321eb1056c8a6e0504e57cca7578b57039a161
[CLEANUP] File object

In the TYPO3\CMS\Core\Resource\File object the logic to load
metaDataProperties was implemented at multiple places but there
is also a method _getMetaData() that handles this logic.
The method _getMetaData() should be used instead of duplicating
the logic at multiple places.

Additionally some code is removed, which checks the
metaDataProperties member for NULL values, which can never
be the case.

Resolves: #66878
Releases: master
Change-Id: I01939a66aa58629f2c6dc08656647375460cc4e9
Reviewed-on: http://review.typo3.org/39429
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/core/Classes/Resource/File.php