diff options
author | Sebastian Schmelzer | 2012-01-11 15:59:04 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2012-01-11 15:59:04 +0100 |
commit | ac7df5d8551cbacf60f9adc770783a710737fa90 (patch) | |
tree | 6d4823587c44e1e5551a191e6a86547b41a52320 /application/models/RightRolesMapper.php | |
parent | fix stylecode output (diff) | |
download | pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.gz pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.xz pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.zip |
fix stupid checkstyle bugs .. once again..
Diffstat (limited to 'application/models/RightRolesMapper.php')
-rw-r--r-- | application/models/RightRolesMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/RightRolesMapper.php b/application/models/RightRolesMapper.php index 4edf812..1b7d48c 100644 --- a/application/models/RightRolesMapper.php +++ b/application/models/RightRolesMapper.php @@ -69,7 +69,7 @@ class Application_Model_RightRolesMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_RightRoles'); } @@ -79,7 +79,7 @@ class Application_Model_RightRolesMapper { public function save(Application_Model_RightRoles $rightroles) { $data = array('roleID' => $rightroles->getRoleID() , 'rightID' => $rightroles->getRightID() ); - if (null == = $rightroles->getRoleID() || null == = $rightroles->getRightID()) { + if (null === $rightroles->getRoleID() || null === $rightroles->getRightID()) { return; } else { $this->getDbTable()->insert($data); @@ -87,7 +87,7 @@ class Application_Model_RightRolesMapper { } public function delete(Application_Model_RightRoles $rightroles) { - if (null == = ($roleID = $rightroles->getRoleID()) || null == = ($rightID = $rightroles->getRightID())) { + if (null === ($roleID = $rightroles->getRoleID()) || null === ($rightID = $rightroles->getRightID())) { return; } else { $this->getDbTable()->delete(array('roleID = ?' => $roleID, 'rightID = ?' => $rightID)); |