diff --git a/typo3/sysext/install/Classes/Service/ClearCacheService.php b/typo3/sysext/install/Classes/Service/ClearCacheService.php index 1235ea2f2aaf..52a5ee5f908d 100644 --- a/typo3/sysext/install/Classes/Service/ClearCacheService.php +++ b/typo3/sysext/install/Classes/Service/ClearCacheService.php @@ -42,11 +42,6 @@ public function clearAll() // Delete typo3temp/Cache GeneralUtility::flushDirectory(PATH_site . 'typo3temp/var/Cache', true, true); - $bootstrap = Bootstrap::getInstance(); - $bootstrap - ->initializeCachingFramework() - ->initializePackageManagement(\TYPO3\CMS\Core\Package\PackageManager::class); - // Get all table names from Default connection starting with 'cf_' and truncate them $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); $connection = $connectionPool->getConnectionByName('Default');