Created
June 4, 2015 08:20
-
-
Save kurozumi/9b513a984b7e99a79f72 to your computer and use it in GitHub Desktop.
【EC-CUBE2.13】パスワードを忘れた時のヒント(リマインダー)機能を停止する方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 会員登録共通 | |
* | |
* @param SC_FormParam $objFormParam SC_FormParam インスタンス | |
* @param boolean $isAdmin true:管理者画面 false:会員向け | |
* @param boolean $is_mypage マイページの場合 true | |
* @param string $prefix キー名にprefixを付ける場合に指定 | |
* @return void | |
*/ | |
public function sfCustomerRegisterParam(&$objFormParam, $isAdmin = false, $is_mypage = false, $prefix = '') | |
{ | |
parent::sfCustomerRegisterParam($objFormParam, $isAdmin); | |
$objFormParam->removeParam('reminder'); | |
$objFormParam->removeParam('reminder_answer'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment