ShowController: remove legacy 'disabled' check

This commit is contained in:
Thomas Gelf 2016-06-26 16:34:36 +02:00
parent 8068fa4e03
commit 4f7647c258
1 changed files with 0 additions and 5 deletions

View File

@ -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