public function sendLostPasswordMail(Kwf_Model_Row_Interface $row, Kwf_User_Row $kwfUserRow) { $mail = new Kwf_User_Mail_LostPassword($kwfUserRow); $mail->send($this->_mailTransport); if ($row instanceof Kwf_User_EditRow) { $row->getModel()->writeLog(array('user_id' => $row->id, 'message_type' => 'user_mail_UserLostPassword')); } return true; }
public function sendLostPasswordMail(Kwf_Model_Row_Interface $row, Kwf_User_Row $kwfUserRow) { $mail = new Kwf_User_Mail_LostPassword($kwfUserRow); $mail->send($this->_mailTransport); if (method_exists($row, 'writeLog')) { $row->writeLog('user_mail_UserLostPassword'); } return true; }