X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=application%2Fcontrollers%2FPathController.php;h=7d7ae6af8cd2bb843fa707195671bd627a876f3b;hb=d2d165910aacef01961120326452e616f53991f2;hp=cdd067b6f4ba2b43722f7256d32d19fd2dd506e3;hpb=c1aeb7538786d8c9f3b3337c0b71e21ef89d9c77;p=syj.git diff --git a/application/controllers/PathController.php b/application/controllers/PathController.php index cdd067b..7d7ae6a 100644 --- a/application/controllers/PathController.php +++ b/application/controllers/PathController.php @@ -1,5 +1,5 @@ _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(); }