[BUGFIX] ResourceCompressor does not persist external resources 70/51270/2
authorBenni Mack <benni@typo3.org>
Wed, 11 Jan 2017 17:05:50 +0000 (18:05 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 11 Jan 2017 20:27:19 +0000 (21:27 +0100)
commitf1c1e9e41de8b256dfba1402fdb714394cc84eeb
treee0ea49b8f5757ceeff6fa68d663edabc90cfbc3d
parent4740ae5c13a080ea0a9b1ba820b445ad96f994c1
[BUGFIX] ResourceCompressor does not persist external resources

The condition in the ResourceCompressor for fetching
external files never worked, as it was a simple typo
to update an external resource.

So the first time the local file did not exist (and thus, the md5
did not match) and the file was fetched but due to the
wrong check, the file never got updated.

Resolves: #79269
Releases: master, 7.6
Change-Id: If6942284ccd46f400e23d199e827d4e7a696961d
Reviewed-on: https://review.typo3.org/51270
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: David Greiner <hallo@davidgreiner.de>
Tested-by: David Greiner <hallo@davidgreiner.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Resource/ResourceCompressor.php