X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FPendingController.php;h=ff28a1f94dad7b48db031faa703092ead5fa9b3c;hb=00c2579ade64a20ba2d82e98d3eea5f864864cdb;hp=025f6c97a4048af750eb1c5888311c9888209fff;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/controllers/PendingController.php b/application/controllers/PendingController.php index 025f6c9..ff28a1f 100644 --- a/application/controllers/PendingController.php +++ b/application/controllers/PendingController.php @@ -1,13 +1,12 @@ view->headLink()->appendStylesheet('css/generic.css'); - $this->view->headLink()->appendStylesheet('css/pending.css'); + $this->_helper->SyjMedias->addStyleSheets('pending'); } public function indexAction() { @@ -52,10 +51,7 @@ class PendingController extends Zend_Controller_Action $title = $this->view->translate("password changed"); $this->_helper->ViewRenderer->setViewScriptPathSpec(':controller/password_validate.:suffix'); - - // logout - Zend_Session::start(); - Zend_Session::destroy(); + $this->_helper->SyjUserManager->logout(); } else if (array_key_exists('pending_cancel', $formData)) { if (!$pending->cancel()) {