Changeset 24791 for plugins/sfDoctrineGuardExtraPlugin
- Timestamp:
- 12/02/09 14:21:11 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfDoctrineGuardExtraPlugin/branches/1.3/modules/sfGuardForgotPassword/lib/BasesfGuardForgotPasswordActions.class.php
r24790 r24791 61 61 ); 62 62 63 $this-> _sendPasswordMail($sfGuardUser);63 $this->sendPasswordMail($sfGuardUser); 64 64 65 65 return $this->redirect('@sf_guard_do_password'); … … 75 75 * @return void 76 76 */ 77 p rotected function _sendPasswordMail($user)77 public function sendPasswordMail($user) 78 78 { 79 79 $message = $this->getComponent( … … 128 128 $this->sfGuardUser->save(); 129 129 130 $this-> _sendResetPasswordMail($this->sfGuardUser, $newPassword);130 $this->sendResetPasswordMail($this->sfGuardUser, $newPassword); 131 131 } 132 132 … … 139 139 * @return void 140 140 */ 141 p rotected function _sendResetPasswordMail($user, $password)141 public function sendResetPasswordMail($user, $password) 142 142 { 143 143 $message = $this->getComponent( plugins/sfDoctrineGuardExtraPlugin/branches/1.3/modules/sfGuardRegister/lib/BasesfGuardRegisterActions.class.php
r24790 r24791 53 53 $sfGuardUser = $this->form->save(); 54 54 55 $this-> _sendRegisterConfirmMail($sfGuardUser, $values['password']);55 $this->sendRegisterConfirmMail($sfGuardUser, $values['password']); 56 56 57 57 $this->getUser()->setFlash('values', $values); … … 71 71 * @return void 72 72 */ 73 p rotected function _sendRegisterConfirmMail($user, $password)73 public function sendRegisterConfirmMail($user, $password) 74 74 { 75 75 $message = $this->getComponent( … … 122 122 $sfGuardUser->save(); 123 123 124 $this-> _sendRegisterCompleteMail($sfGuardUser);124 $this->sendRegisterCompleteMail($sfGuardUser); 125 125 126 126 $this->redirect('@sf_guard_register_complete?id='.$sfGuardUser->getId()); … … 134 134 * @return void 135 135 */ 136 p rotected function _sendRegisterCompleteMail($user)136 public function sendRegisterCompleteMail($user) 137 137 { 138 138 $message = $this->getComponent(