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/BootOsUserMapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/models/BootOsUserMapper.php') diff --git a/application/models/BootOsUserMapper.php b/application/models/BootOsUserMapper.php index fa5d236..04eb207 100644 --- a/application/models/BootOsUserMapper.php +++ b/application/models/BootOsUserMapper.php @@ -70,7 +70,7 @@ class Application_Model_BootOsUserMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_BootOsUser'); } @@ -79,7 +79,7 @@ class Application_Model_BootOsUserMapper { public function save(Application_Model_BootOsUser $user) { $data = array('bootosuserID' => $user->getID() , 'configID' => $user->getConfigID() , 'login' => $user->getLogin(), 'password' => $user->getPassword(), 'homepath' => $user->getHomepath() , 'hometypeID' => $user->getHometypeID()); - if (null == = ($id = $user->getID()) ) { + if (null === ($id = $user->getID()) ) { unset($data['bootosuserID']); return $this->getDbTable()->insert($data); } else { @@ -88,7 +88,7 @@ class Application_Model_BootOsUserMapper { } public function delete(Application_Model_BootOsUser $user) { - if (null == = ($id = $user->getID()) ) { + if (null === ($id = $user->getID()) ) { return; } else { $this->getDbTable()->delete(array('bootosuserID = ?' => $id)); -- cgit v1.2.3-55-g7522