mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
ShowController: remove legacy 'disabled' check
This commit is contained in:
parent
8068fa4e03
commit
4f7647c258
@ -80,11 +80,6 @@ class ShowController extends ActionController
|
||||
$old = $this->oldObject($entry);
|
||||
$new = $this->newObject($entry);
|
||||
|
||||
if ($old->disabled === 'y' && $new->disabled === 'n') {
|
||||
$old = null;
|
||||
} elseif ($old->disabled === 'n' && $new->disabled === 'y') {
|
||||
$new = null;
|
||||
}
|
||||
$d = ConfigDiff::create(
|
||||
$old,
|
||||
$new
|
||||
|
Loading…
x
Reference in New Issue
Block a user