summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/AuthController.php
diff options
context:
space:
mode:
authorSimon2011-03-19 10:32:19 +0100
committerSimon2011-03-19 10:32:19 +0100
commit4dedc8c5b49466b82cf453536b3f224d57a0c710 (patch)
tree846db54e9c1661fbbc42df3f73eab79d6e690f2e /application/modules/user/controllers/AuthController.php
parentFilterEvaluate an Session angepasst (diff)
downloadpbs2-4dedc8c5b49466b82cf453536b3f224d57a0c710.tar.gz
pbs2-4dedc8c5b49466b82cf453536b3f224d57a0c710.tar.xz
pbs2-4dedc8c5b49466b82cf453536b3f224d57a0c710.zip
Bei Auth Controller zum testen MembershipID wählbar
Pool zeigt nurnoch freie Clients der eigenen Gruppe an
Diffstat (limited to 'application/modules/user/controllers/AuthController.php')
-rw-r--r--application/modules/user/controllers/AuthController.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/application/modules/user/controllers/AuthController.php b/application/modules/user/controllers/AuthController.php
index 76dc243..80a411d 100644
--- a/application/modules/user/controllers/AuthController.php
+++ b/application/modules/user/controllers/AuthController.php
@@ -11,7 +11,15 @@ class User_AuthController extends Zend_Controller_Action
public function indexAction()
{
// action body
- $_SESSION['membershipID'] = 1;
+ $membershipID = $this->_request->getParam('membershipID');
+ if($membershipID == ''){
+ $_SESSION['membershipID'] = 1;
+ }
+ else{
+ $_SESSION['membershipID'] = $membershipID;
+ }
+ $pbsNotifier = new Pbs_Notifier();
+ echo $pbsNotifier->notify("membershipID is set to ".$_SESSION['membershipID'],'ok');
}