summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/PrebootController.php
diff options
context:
space:
mode:
authormichael pereira2011-03-29 12:10:44 +0200
committermichael pereira2011-03-29 12:10:44 +0200
commitd008a1c77392885c4ee57b8e95512c6dd0be0f73 (patch)
treeff2b5a5f602c9149ed511095eb21097a8bf7919d /application/modules/user/controllers/PrebootController.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-d008a1c77392885c4ee57b8e95512c6dd0be0f73.tar.gz
pbs2-d008a1c77392885c4ee57b8e95512c6dd0be0f73.tar.xz
pbs2-d008a1c77392885c4ee57b8e95512c6dd0be0f73.zip
sql fixed
Diffstat (limited to 'application/modules/user/controllers/PrebootController.php')
-rw-r--r--application/modules/user/controllers/PrebootController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php
index e1e67a5..1491ae9 100644
--- a/application/modules/user/controllers/PrebootController.php
+++ b/application/modules/user/controllers/PrebootController.php
@@ -12,8 +12,7 @@ class User_PrebootController extends Zend_Controller_Action
if (Zend_Auth::getInstance()->hasIdentity()) {
$userIDsNamespace = Zend_Session::namespaceGet('userIDs');
if($userIDsNamespace['membershipID'] ==''){
- $pbsNotifier = new Pbs_Notifier();
- echo $pbsNotifier->notify('No membershipID set','forbidden');
+ $this->_redirect('/user/index');
}
$this->prebootMapper = new Application_Model_PreBootMapper();