summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/models/ClientMapper.php4
-rw-r--r--library/Pbs/Session.php4
2 files changed, 2 insertions, 6 deletions
diff --git a/application/models/ClientMapper.php b/application/models/ClientMapper.php
index 2c530d9..e3bb25d 100644
--- a/application/models/ClientMapper.php
+++ b/application/models/ClientMapper.php
@@ -55,9 +55,9 @@ class Application_Model_ClientMapper
if (null === ($id = $client->getID()) ) {
unset($data['clientID']);
- $this->getDbTable()->insert($data);
+ return $this->getDbTable()->insert($data);
} else {
- $this->getDbTable()->update($data, array('clientID = ?' => $id));
+ return $this->getDbTable()->update($data, array('clientID = ?' => $id));
}
}
diff --git a/library/Pbs/Session.php b/library/Pbs/Session.php
index 15cb93b..592b89c 100644
--- a/library/Pbs/Session.php
+++ b/library/Pbs/Session.php
@@ -2,10 +2,6 @@
class Pbs_Session{
- public function testfunction()
- {
- print_a("das ist ein Test");
- }
public function createsession(Application_Model_Session $session){
$sessionmapper = new Application_Model_SessionMapper();