mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-01 10:29:08 +08:00
clear apcu cache upon starting containers
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
cf148b6381
commit
5e96aad3fd
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ class DockerController
|
||||||
// Start container
|
// Start container
|
||||||
$this->startTopContainer(true);
|
$this->startTopContainer(true);
|
||||||
|
|
||||||
|
// Clear apcu cache in order to check if container updates are available
|
||||||
|
apcu_clear_cache();
|
||||||
|
|
||||||
return $response->withStatus(201)->withHeader('Location', '/');
|
return $response->withStatus(201)->withHeader('Location', '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue