mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Camelize property install_latest_major => installLatestMajor
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
1db9400a99
commit
915d2096f7
2 changed files with 5 additions and 5 deletions
|
|
@ -178,13 +178,13 @@ readonly class DockerController {
|
|||
}
|
||||
|
||||
if (isset($request->getParsedBody()['install_latest_major'])) {
|
||||
$install_latest_major = '32';
|
||||
$installLatestMajor = '32';
|
||||
} else {
|
||||
$install_latest_major = '';
|
||||
$installLatestMajor = '';
|
||||
}
|
||||
|
||||
$this->configurationManager->startTransaction();
|
||||
$this->configurationManager->install_latest_major = $install_latest_major;
|
||||
$this->configurationManager->installLatestMajor = $installLatestMajor;
|
||||
// set AIO_URL
|
||||
$this->configurationManager->aioUrl = $host . ':' . (string)$port . $path;
|
||||
// set wasStartButtonClicked
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class ConfigurationManager
|
|||
set { $this->set('wasStartButtonClicked', $value); }
|
||||
}
|
||||
|
||||
public string $install_latest_major {
|
||||
public string $installLatestMajor {
|
||||
// Type-cast because old configs could have integers for this key.
|
||||
get => (string) $this->get('install_latest_major', '');
|
||||
set { $this->set('install_latest_major', $value); }
|
||||
|
|
@ -1078,7 +1078,7 @@ class ConfigurationManager
|
|||
'NEXTCLOUD_STARTUP_APPS' => $this->GetNextcloudStartupApps(),
|
||||
'NEXTCLOUD_ADDITIONAL_APKS' => $this->GetNextcloudAdditionalApks(),
|
||||
'NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS' => $this->GetNextcloudAdditionalPhpExtensions(),
|
||||
'INSTALL_LATEST_MAJOR' => $this->install_latest_major,
|
||||
'INSTALL_LATEST_MAJOR' => $this->installLatestMajor,
|
||||
'REMOVE_DISABLED_APPS' => $this->shouldDisabledAppsGetRemoved() ? 'yes' : '',
|
||||
// Allow to get local ip-address of database container which allows to talk to it even in host mode (the container that requires this needs to be started first then)
|
||||
'AIO_DATABASE_HOST' => gethostbyname('nextcloud-aio-database'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue