X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FListController.php;h=1cf030809025e75f4aced523656451e1548b1800;hp=9dfac813582fb20222363dbd0fca0576d0f5867a;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hpb=0fb09adccd5c3b305d56f1b267dbd3bf836fd17f diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php index 9dfac81..1cf0308 100644 --- a/application/controllers/ListController.php +++ b/application/controllers/ListController.php @@ -6,7 +6,7 @@ class ListController extends Zend_Controller_Action { public function init() { - $this->_helper->SyjSession->needsLogin(); + $this->_helper->SyjUserManager->needsLogin(); $this->_helper->SyjMedias->addScripts('list'); @@ -16,7 +16,7 @@ class ListController extends Zend_Controller_Action } public function indexAction() { - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); $pathMapper = new Syj_Model_PathMapper(); $list = $pathMapper->fetchByCreator($user); $paginator = Zend_Paginator::factory($list);