[BUGFIX] Flush `l10n` cache after downloading languages 83/56583/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 6 Apr 2018 11:57:28 +0000 (13:57 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 6 Apr 2018 14:55:34 +0000 (16:55 +0200)
commit8a57e5bed569ce8dbcde3d9fb5498774efbfbbfe
tree0f79a6663f105fb5410ac8883058acfb29437b50
parent94acfea021c35fa5c24835b7761f0c9679c3b2d7
[BUGFIX] Flush `l10n` cache after downloading languages

This patch let's the Maintenance Area flush the `l10n` caches after
language packs were downloaded. Since the Install Tool uses
"hacked settings", we have to create a new instance of the `CacheManager`
to be able to operate on the mentioned cache. The same handling can be
seen in `ClearCacheService::clearAll()`.

Resolves: #84645
Releases: master
Change-Id: I221bd0d77f2991eac550316586002a8329bb36df
Reviewed-on: https://review.typo3.org/56583
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joshua Westerheide <account@jdoubleu.de>
Tested-by: Joshua Westerheide <account@jdoubleu.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/install/Classes/Controller/MaintenanceController.php