X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FListController.php;h=1cf030809025e75f4aced523656451e1548b1800;hb=c62fec904635ab47cff34f23db822e7ff017dd4e;hp=9dfac813582fb20222363dbd0fca0576d0f5867a;hpb=1f6105289a49079809c2a4677b561bc82c62db88;p=syj.git 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);