Пример #1
0
 /**
  * Resets the isCachingFrameworkInitialized state
  * Beware! This is not public API and necessary for edge cases in the install tool.
  *
  * @return void
  */
 public static function flagCachingFrameworkForReinitialization()
 {
     self::$isCachingFrameworkInitialized = FALSE;
     GeneralUtility::removeSingletonInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager', self::$cacheManager);
     GeneralUtility::removeSingletonInstance('TYPO3\\CMS\\Core\\Cache\\CacheFactory', self::$cacheFactory);
     self::$cacheManager = NULL;
     self::$cacheFactory = NULL;
 }