Skip to content
Snippets Groups Projects
Commit 391b8d8f authored by Wouter Wolters's avatar Wouter Wolters Committed by Tolleiv Nietsch
Browse files

[TASK] Clean up phpDoc comments in t3lib_cache

* CGLify phpDoc (remove tabs)

Change-Id: Ia3f897c3710ba2628076bb5d62beb0ff52d33406
Resolves: #36892
Releases: 6.0
Reviewed-on: http://review.typo3.org/11032
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
parent a21f8a41
Branches
Tags
No related merge requests found
......@@ -40,16 +40,16 @@ class t3lib_cache {
* Initializes the caching framework by loading the cache manager and factory
* into the global context.
*
* @return void
* @return void
*/
public static function initializeCachingFramework() {
if (!self::isCachingFrameworkInitialized()) {
// new operator used on purpose, makeInstance() is not ready to be used so early in bootstrap
// New operator used on purpose, makeInstance() is not ready to be used so early in bootstrap
$GLOBALS['typo3CacheManager'] = new t3lib_cache_Manager();
t3lib_div::setSingletonInstance('t3lib_cache_Manager', $GLOBALS['typo3CacheManager']);
t3lib_div::addClassNameToMakeInstanceCache('t3lib_cache_Manager', 't3lib_cache_Manager');
$GLOBALS['typo3CacheManager']->setCacheConfigurations($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']);
// new operator used on purpose, makeInstance() is not ready to be used so early in bootstrap
// New operator used on purpose, makeInstance() is not ready to be used so early in bootstrap
$GLOBALS['typo3CacheFactory'] = new t3lib_cache_Factory('production', $GLOBALS['typo3CacheManager']);
t3lib_div::setSingletonInstance('t3lib_cache_Factory', $GLOBALS['typo3CacheFactory']);
t3lib_div::addClassNameToMakeInstanceCache('t3lib_cache_Factory', 't3lib_cache_Factory');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment