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
commit a1680e9e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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', '/');
}