Merge pull request #2573 from nextcloud/enh/noid/clear-apcu-cache

clear apcu cache upon starting containers
This commit is contained in:
Simon L
2023-05-30 11:28:10 +02:00
committed by GitHub

View File

@@ -172,6 +172,9 @@ class DockerController
// Start container
$this->startTopContainer(true);
// Clear apcu cache in order to check if container updates are available
apcu_clear_cache();
return $response->withStatus(201)->withHeader('Location', '/');
}