summaryrefslogtreecommitdiffstats
path: root/application/models/PreBootMapper.php
diff options
context:
space:
mode:
authorSebastian Schmelzer2012-01-11 15:59:04 +0100
committerSebastian Schmelzer2012-01-11 15:59:04 +0100
commitac7df5d8551cbacf60f9adc770783a710737fa90 (patch)
tree6d4823587c44e1e5551a191e6a86547b41a52320 /application/models/PreBootMapper.php
parentfix stylecode output (diff)
downloadpbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.gz
pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.tar.xz
pbs2-ac7df5d8551cbacf60f9adc770783a710737fa90.zip
fix stupid checkstyle bugs .. once again..
Diffstat (limited to 'application/models/PreBootMapper.php')
-rw-r--r--application/models/PreBootMapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/PreBootMapper.php b/application/models/PreBootMapper.php
index cbeabc3..4a9b039 100644
--- a/application/models/PreBootMapper.php
+++ b/application/models/PreBootMapper.php
@@ -72,7 +72,7 @@ class Application_Model_PreBootMapper {
}
public function getDbTable() {
- if (null == = $this->_dbTable) {
+ if (null === $this->_dbTable) {
$this->setDbTable('Application_Model_DbTable_PreBoot');
}
@@ -83,7 +83,7 @@ class Application_Model_PreBootMapper {
$data = array('prebootID' => $preboot->getID() , 'membershipID' => $preboot->getMembershipID() , 'title' => $preboot->getTitle() , 'groupID' => $preboot->getGroupID(), 'created' => $preboot->getCreated(), 'source' => $preboot->getSource(), 'description' => $preboot->getDescription());
- if (null == = ($id = $preboot->getID()) ) {
+ if (null === ($id = $preboot->getID()) ) {
unset($data['prebootID']);
return $this->getDbTable()->insert($data);
} else {
@@ -93,7 +93,7 @@ class Application_Model_PreBootMapper {
}
public function delete(Application_Model_PreBoot $preboot) {
- if (null == = ($id = $preboot->getID()) ) {
+ if (null === ($id = $preboot->getID()) ) {
return;
} else {
$this->getDbTable()->delete(array('prebootID = ?' => $id));