summaryrefslogtreecommitdiffstats
path: root/application/models/BootOsUserMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/BootOsUserMapper.php')
-rw-r--r--application/models/BootOsUserMapper.php6
1 files changed, 3 insertions, 3 deletions
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));