Issue Bug Closed

#27686Deprecate initCache methods in t3lib_cache

Christian Kuhn 06/24/11, 17:48 updated 06/01/13, 14:43

Description

The cacheManager instantiates caches on its own if the instance does not exist. So its always possible to do $GLOBALS[‘typo3CacheManager’]->getCache(‘myCacheIdentifier’) without getting an exception if the cache was not initialized. Thus the three methods in t3lib_cache initPageCache(), initPageSectionCache() and initContentHashCache() can be deprecated.

Reviews 1