Allow unsetting the whole platform config key
parent
9850621c6b
commit
ec63c213f8
|
@ -576,6 +576,9 @@ EOT
|
|||
|
||||
return $this->configSource->addConfigSetting($settingKey, $values[0]);
|
||||
}
|
||||
if ($settingKey === 'platform' && $input->getOption('unset')) {
|
||||
return $this->configSource->removeConfigSetting($settingKey);
|
||||
}
|
||||
|
||||
// handle auth
|
||||
if (preg_match('/^(bitbucket-oauth|github-oauth|gitlab-oauth|gitlab-token|http-basic)\.(.+)/', $settingKey, $matches)) {
|
||||
|
|
Loading…
Reference in New Issue