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/BootOsMapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/models/BootOsMapper.php') diff --git a/application/models/BootOsMapper.php b/application/models/BootOsMapper.php index 4fc2016..23eee08 100644 --- a/application/models/BootOsMapper.php +++ b/application/models/BootOsMapper.php @@ -70,7 +70,7 @@ class Application_Model_BootOsMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_BootOs'); } @@ -79,7 +79,7 @@ class Application_Model_BootOsMapper { public function save(Application_Model_BootOs $botos) { $data = array('bootosID' => $botos->getID() , 'groupID' => $botos->getGroupID() , 'title' => $botos->getTitle(), 'membershipID' => $botos->getMembershipID(), 'defaultkcl' => $botos->getDefaultkcl() , 'created' => $botos->getCreated() , 'description' => $botos->getDescription() , 'expires' => $botos->getExpires() , 'public' => $botos->getPublic(), 'source' => $botos->getSource(), 'distro' => $botos->getDistro(), 'distroversion' => $botos->getDistroversion(), 'shortname' => $botos->getShortname(), 'share' => $botos->getShare() ); - if (null == = ($id = $botos->getID()) ) { + if (null === ($id = $botos->getID()) ) { unset($data['bootosID']); return $this->getDbTable()->insert($data); } else { @@ -88,7 +88,7 @@ class Application_Model_BootOsMapper { } public function delete(Application_Model_BootOs $botos) { - if (null == = ($id = $botos->getID()) ) { + if (null === ($id = $botos->getID()) ) { return; } else { $this->getDbTable()->delete(array('bootosID = ?' => $id)); -- cgit v1.2.3-55-g7522