X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FPathController.php;h=7d7ae6af8cd2bb843fa707195671bd627a876f3b;hp=375b83e8e32c798dbcdbe956a3be3000f74f3a4e;hb=0722c496ca63f30937427e3bf8fbdd5cfee2c83d;hpb=0fb09adccd5c3b305d56f1b267dbd3bf836fd17f diff --git a/application/controllers/PathController.php b/application/controllers/PathController.php index 375b83e..7d7ae6a 100644 --- a/application/controllers/PathController.php +++ b/application/controllers/PathController.php @@ -8,7 +8,7 @@ class PathController extends Zend_Controller_Action $formData = $this->_helper->SyjPostData->getPostData('Syj_Form_Geom'); $path = new Syj_Model_Path(); - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); if (!$user and !$formData["geom_accept"]) { throw new Syj_Exception_Request(); } @@ -52,7 +52,7 @@ class PathController extends Zend_Controller_Action } } - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); if (!$path->isCreator($user)) { throw new Syj_Exception_Forbidden(); }