mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-16 10:40:21 +00:00
Don't write the default value to disk
This matches the previous behaviour and should not be changed silently. Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
ec9b4b9b38
commit
fb3f8172ca
1 changed files with 0 additions and 1 deletions
|
|
@ -588,7 +588,6 @@ class ConfigurationManager
|
||||||
$configValue = $this->get($configName, '');
|
$configValue = $this->get($configName, '');
|
||||||
if ($envVariableOutput === false) {
|
if ($envVariableOutput === false) {
|
||||||
if ($configValue === '') {
|
if ($configValue === '') {
|
||||||
$this->set($configName, $defaultValue);
|
|
||||||
return $defaultValue;
|
return $defaultValue;
|
||||||
}
|
}
|
||||||
return $configValue;
|
return $configValue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue