Commit 8d86011a authored by Andreas Beutel's avatar Andreas Beutel

Merge branch '365-cache-shows-old-extension-version-after-upload' into 'develop'

Add flushing caches after successful extension import

Closes #365

See merge request !373
parents 3d15b8fb 9c1bc6a7
Pipeline #5317 passed with stages
in 7 minutes and 19 seconds
...@@ -88,6 +88,11 @@ class ImportExtensionsFromQueueTask extends Task ...@@ -88,6 +88,11 @@ class ImportExtensionsFromQueueTask extends Task
$this->removeExtensionFromQueue($ext['extensionuid']); $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'); $this->logger->info('Task ImportExtensionsFromQueueTask finished');
return true; 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