X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FAccountController.php;h=c79b4769cc84439a4fe273838d2e20c0b25c96d8;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hp=3bd20c6b63018317ef14511b94095cc2ff7262e5;hpb=70d6bb9dfa4c198607fbe75592f108bc8d69048b;p=syj.git diff --git a/application/controllers/AccountController.php b/application/controllers/AccountController.php index 3bd20c6..c79b476 100644 --- a/application/controllers/AccountController.php +++ b/application/controllers/AccountController.php @@ -1,12 +1,12 @@ _helper->SyjSession->needsLogin(); + $this->_helper->SyjUserManager->needsLogin(); $this->_helper->SyjMedias->addScripts('account'); $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); @@ -16,7 +16,7 @@ class AccountController extends Zend_Controller_Action } public function indexAction() { - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); $request = $this->getRequest(); $form = new Syj_Form_Account(array('name' => 'accountform'));