From 4f7647c2583e2f96ec60487139c59bb838859f5b Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 26 Jun 2016 16:34:36 +0200 Subject: [PATCH] ShowController: remove legacy 'disabled' check --- application/controllers/ShowController.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/application/controllers/ShowController.php b/application/controllers/ShowController.php index 7b7439c6..d5d0ec4d 100644 --- a/application/controllers/ShowController.php +++ b/application/controllers/ShowController.php @@ -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