mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-05 05:17:57 +00:00
Turn install_latest_major property into a string so we can save a version string or number
I chose a string instead of an integer so we have more freedom what to actually save (maybe we want to include minor version digits at one point). Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
3bb2ce6e4c
commit
27fd1e82ab
2 changed files with 11 additions and 4 deletions
|
|
@ -177,8 +177,14 @@ readonly class DockerController {
|
|||
$port = 443;
|
||||
}
|
||||
|
||||
if (isset($request->getParsedBody()['install_latest_major'])) {
|
||||
$install_latest_major = '32';
|
||||
} else {
|
||||
$install_latest_major = '';
|
||||
}
|
||||
|
||||
$this->configurationManager->startTransaction();
|
||||
$this->configurationManager->install_latest_major = isset($request->getParsedBody()['install_latest_major']);
|
||||
$this->configurationManager->install_latest_major = $install_latest_major;
|
||||
// set AIO_URL
|
||||
$this->configurationManager->AIO_URL = $host . ':' . (string)$port . $path;
|
||||
// set wasStartButtonClicked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue