summaryrefslogtreecommitdiffstats
path: root/library/Pbs/Session.php
diff options
context:
space:
mode:
authormichael pereira2011-07-11 00:51:43 +0200
committermichael pereira2011-07-11 00:51:43 +0200
commite01348134e7d44de9471c4d76659cab41a6c9952 (patch)
treebba0e9343e6b7ed80fd57b7623fef01ae481357f /library/Pbs/Session.php
parentSession fuer ipxe (diff)
downloadpbs2-e01348134e7d44de9471c4d76659cab41a6c9952.tar.gz
pbs2-e01348134e7d44de9471c4d76659cab41a6c9952.tar.xz
pbs2-e01348134e7d44de9471c4d76659cab41a6c9952.zip
Session und Filter fuer ipxe Bootmenu
Diffstat (limited to 'library/Pbs/Session.php')
-rw-r--r--library/Pbs/Session.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/Pbs/Session.php b/library/Pbs/Session.php
index 7686077..12e6738 100644
--- a/library/Pbs/Session.php
+++ b/library/Pbs/Session.php
@@ -12,16 +12,16 @@
class Pbs_Session{
- public function CreateSession(Application_Model_Session $session){
+ public function createSession(Application_Model_Session $session){
$sessionmapper = new Application_Model_SessionMapper();
-
$uniqid = $this->getUniqueCode(10);
$sm = new Application_Model_SessionMapper();
while(count($sm->findBy(array('alphasessionID' => $uniqid),true))>0){
$uniqid = $this->getUniqueCode(16);
}
- $session->setAlphasessionID($uniqid);
+ $session->setAlphasessionID($uniqid);
+
$id = $sessionmapper->save($session);
$sessionmapper->find($id, $session);
return $session;