function greetAction() { if ($this->getRequest()->getParam('code')) { $user = new UsersModel(); if ($user->ConfirmEmailCode($this->getRequest()->getParam('code'))) { $this->session->error = array("<strong>Thanks for verifying your email address.</strong><br />You can login now.", 60, "thanks"); } } $this->_redirect(""); die; }