mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
parent
a2151fd9d1
commit
1cedc64c5a
@ -2019,8 +2019,10 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
$str = $this->alignLegacyProperties($str);
|
$str = $this->alignLegacyProperties($str);
|
||||||
|
|
||||||
if ($this->isDisabled()) {
|
if ($this->isDisabled()) {
|
||||||
return "/* --- This object has been disabled ---\n"
|
return
|
||||||
. $str . "*/\n";
|
"# --- This object has been disabled ---\n"
|
||||||
|
. preg_replace('~^~m', '# ', trim($str))
|
||||||
|
. "\n";
|
||||||
} else {
|
} else {
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user