NobuNobu
nobun****@users*****
2007年 1月 26日 (金) 17:20:14 JST
Index: xoops2jp/html/modules/user/actions/LostPassAction.class.php diff -u xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.8.2.1.2.2 xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.8.2.1.2.3 --- xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.8.2.1.2.2 Tue Jan 23 22:37:43 2007 +++ xoops2jp/html/modules/user/actions/LostPassAction.class.php Fri Jan 26 17:20:14 2007 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LostPassAction.class.php,v 1.1.2.8.2.1.2.2 2007/01/23 13:37:43 nobunobu Exp $ + * @version $Id: LostPassAction.class.php,v 1.1.2.8.2.1.2.3 2007/01/26 08:20:14 nobunobu Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -21,12 +21,9 @@ * @var User_LostPassEditForm */ var $mActionForm = null; - var $mConfig; function prepare(&$controller, &$xoopsUser, $moduleConfig) { - $this->mConfig = $moduleConfig; - $this->mActionForm =& new User_LostPassEditForm(); $this->mActionForm->prepare(); } @@ -68,7 +65,7 @@ $newpass = xoops_makepass(); $extraVars['newpass'] = $newpass; $builder =& new User_LostPass2MailBuilder(); - $director =& new User_LostPassMailDirector($builder, $lostUser, $controller->mConfig, $extraVars); + $director =& new User_LostPassMailDirector($builder, $lostUser, $controller->mRoot->mContext->getXoopsConfig(), $extraVars); $director->contruct(); $xoopsMailer =& $builder->getResult(); if (!$xoopsMailer->send()) { @@ -101,7 +98,7 @@ } $builder =& new User_LostPass1MailBuilder(); - $director =& new User_LostPassMailDirector($builder, $lostUser, $controller->mConfig); + $director =& new User_LostPassMailDirector($builder, $lostUser, $controller->mRoot->mContext->getXoopsConfig()); $director->contruct(); $xoopsMailer =& $builder->getResult();