mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaObject: fix comments for disabled object...
...and switch to multiline comments, they look better in our diffs fixes #11937
This commit is contained in:
parent
e3c08c242b
commit
b83bfed186
@ -1389,8 +1389,8 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||
));
|
||||
|
||||
if ($this->isDisabled()) {
|
||||
return "// --- This object has been disabled ---\n// \n// "
|
||||
. str_replace("\n", "\n// ", $str);
|
||||
return "/* --- This object has been disabled ---\n"
|
||||
. $str . "*/\n";
|
||||
} else {
|
||||
return $str;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user