X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FPendingController.php;h=d025023dd8197987025597099b1bb24e166cd847;hp=025f6c97a4048af750eb1c5888311c9888209fff;hb=05ce9238adfa982746bfc6211b240fd24526af09;hpb=011d9f73366efb4ce530b8b6da72055025419527 diff --git a/application/controllers/PendingController.php b/application/controllers/PendingController.php index 025f6c9..d025023 100644 --- a/application/controllers/PendingController.php +++ b/application/controllers/PendingController.php @@ -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()) {