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);
|
$old = $this->oldObject($entry);
|
||||||
$new = $this->newObject($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(
|
$d = ConfigDiff::create(
|
||||||
$old,
|
$old,
|
||||||
$new
|
$new
|
||||||
|
|
Loading…
Reference in New Issue