From ac7df5d8551cbacf60f9adc770783a710737fa90 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 11 Jan 2012 15:59:04 +0100 Subject: fix stupid checkstyle bugs .. once again.. --- application/models/BootIsoMapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/models/BootIsoMapper.php') diff --git a/application/models/BootIsoMapper.php b/application/models/BootIsoMapper.php index 4414bb2..35a66d0 100644 --- a/application/models/BootIsoMapper.php +++ b/application/models/BootIsoMapper.php @@ -68,7 +68,7 @@ class Application_Model_BootIsoMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_BootIso'); } @@ -79,7 +79,7 @@ class Application_Model_BootIsoMapper { $data = array('bootisoID' => $botiso->getID() , 'membershipID' => $botiso->getMembershipID() , 'title' => $botiso->getTitle(), 'prebootID' => $botiso->getPrebootID() , 'groupID' => $botiso->getGroupID() , 'serialnumber' => $botiso->getSerialnumber() , 'created' => $botiso->getCreated() , 'expires' => $botiso->getExpires() , 'public' => $botiso->getPublic(), 'description' => $botiso->getDescription() ); - if (null == = ($id = $botiso->getID()) ) { + if (null === ($id = $botiso->getID()) ) { unset($data['bootisoID']); return $this->getDbTable()->insert($data); } else { @@ -88,7 +88,7 @@ class Application_Model_BootIsoMapper { } public function delete(Application_Model_BootIso $botiso) { - if (null == = ($id = $botiso->getID()) ) { + if (null === ($id = $botiso->getID()) ) { return; } else { $this->getDbTable()->delete(array('bootisoID = ?' => $id)); -- cgit v1.2.3-55-g7522