/** * Used on the settings page to forget the username/password of a POP3 server */ public function process() { $just_forgot_credentials = false; if (isset($this->request->post['pop3_forget'])) { list($success, $form) = $this->process_form(array('pop3_server_id')); if ($success) { Hm_POP3_List::forget_credentials($form['pop3_server_id']); $just_forgot_credentials = true; Hm_Msgs::add('Server credentials forgotten'); $this->session->record_unsaved('POP3 server credentials forgotten'); } else { $this->out('old_form', $form); } } $this->out('just_forgot_credentials', $just_forgot_credentials); }