diff options
Diffstat (limited to 'application/models/BootOsMapper.php')
| -rw-r--r-- | application/models/BootOsMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |
