X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FPendingController.php;h=af5278c2a40b1a1033d31c4e2b1dd62389395a87;hb=8e7d8e39a2ee5801a2f68b95cdc0e84b55da1019;hp=025f6c97a4048af750eb1c5888311c9888209fff;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/controllers/PendingController.php b/application/controllers/PendingController.php index 025f6c9..af5278c 100644 --- a/application/controllers/PendingController.php +++ b/application/controllers/PendingController.php @@ -6,8 +6,8 @@ class PendingController extends Zend_Controller_Action { public function init() { - $this->view->headLink()->appendStylesheet('css/generic.css'); - $this->view->headLink()->appendStylesheet('css/pending.css'); + $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/pending.css', 'all'); } public function indexAction() { @@ -52,10 +52,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->SyjSession->logout(); } else if (array_key_exists('pending_cancel', $formData)) { if (!$pending->cancel()) {