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:
Pablo Zmdl 2026-01-23 16:43:41 +01:00
parent b4364366f5
commit 81858c4975

View file

@ -591,7 +591,6 @@ class ConfigurationManager
$configValue = $this->get($configName, '');
if ($envVariableOutput === false) {
if ($configValue === '') {
$this->set($configName, $defaultValue);
return $defaultValue;
}
return $configValue;