[BUGFIX] Caching Framework: Flush all caches in 'clear all caches'
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 Jun 2011 22:08:24 +0000 (00:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Jun 2011 21:31:59 +0000 (23:31 +0200)
commit5397e22dd935635cf5570539d4361bee2c45dde9
tree9d582748348dd19bde35a2080e082b552cb60297
parentdb8f0c164ba5cdd14d15b70df6344dc15685d432
[BUGFIX] Caching Framework: Flush all caches in 'clear all caches'

The caching framework Manager method flushCashes() flushs only
instantiated caches. The patch puts the new setCacheConfigurations()
method into use when intializing the caching framework to declare all
available caches to the cache manager. In effect,
typo3_cache_Manager->flushCaches() now calls flush() on all caches,
even if they were not instantiated yet.

Change-Id: I368faf156c5c4898ba62a777d1a5d21edfe4110f
Resolves: #27506
Reviewed-on: http://review.typo3.org/2776
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/cache/class.t3lib_cache_manager.php
t3lib/class.t3lib_cache.php
t3lib/class.t3lib_tcemain.php