mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 15:24:05 +02:00
parent
99866bfdbe
commit
e2f6c81bfa
@ -200,12 +200,6 @@ class UserBackendConfigForm extends ConfigForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
$backendConfig->merge($data);
|
$backendConfig->merge($data);
|
||||||
foreach ($backendConfig->toArray() as $k => $v) {
|
|
||||||
if ($v === null) {
|
|
||||||
unset($backendConfig->$k);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->config->setSection($name, $backendConfig);
|
$this->config->setSection($name, $backendConfig);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
@ -426,11 +426,6 @@ class NavigationConfigForm extends ConfigForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
$itemConfig->merge($data);
|
$itemConfig->merge($data);
|
||||||
foreach ($itemConfig->toArray() as $k => $v) {
|
|
||||||
if ($v === null) {
|
|
||||||
unset($itemConfig->$k);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($shared) {
|
if ($shared) {
|
||||||
// Share all descendant children
|
// Share all descendant children
|
||||||
|
@ -147,12 +147,6 @@ class BackendConfigForm extends ConfigForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
$backendConfig->merge($data);
|
$backendConfig->merge($data);
|
||||||
foreach ($backendConfig->toArray() as $k => $v) {
|
|
||||||
if ($v === null) {
|
|
||||||
unset($backendConfig->$k);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->config->setSection($name, $backendConfig);
|
$this->config->setSection($name, $backendConfig);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
@ -167,12 +167,6 @@ class TransportConfigForm extends ConfigForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
$transportConfig->merge($data);
|
$transportConfig->merge($data);
|
||||||
foreach ($transportConfig->toArray() as $k => $v) {
|
|
||||||
if ($v === null) {
|
|
||||||
unset($transportConfig->$k);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->config->setSection($name, $transportConfig);
|
$this->config->setSection($name, $transportConfig);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user