Commit 9c1bc6a7 authored by Thomas Löffler's avatar Thomas Löffler

Add flushing caches after successful extension import

parent 3d15b8fb
Pipeline #5306 passed with stages
in 6 minutes and 46 seconds
......@@ -88,6 +88,11 @@ class ImportExtensionsFromQueueTask extends Task
$this->removeExtensionFromQueue($ext['extensionuid']);
}
if (count($extensionsFromQueue) > 0) {
$cacheManager = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Cache\CacheManager::class);
$cacheManager->flushCaches();
}
$this->logger->info('Task ImportExtensionsFromQueueTask finished');
return true;
......
Markdown is supported
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