NobuNobu
nobun****@users*****
2006年 8月 6日 (日) 00:46:28 JST
Index: xoops2jp/html/modules/user/actions/LostPassAction.class.php diff -u xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.5 xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.6 --- xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.5 Fri Aug 4 13:39:10 2006 +++ xoops2jp/html/modules/user/actions/LostPassAction.class.php Sun Aug 6 00:46:28 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LostPassAction.class.php,v 1.1.2.5 2006/08/04 04:39:10 minahito Exp $ + * @version $Id: LostPassAction.class.php,v 1.1.2.6 2006/08/05 15:46:28 nobunobu Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -41,7 +41,7 @@ return !is_object($xoopsUser); } - function getDefaultView(&$controller, &$xoopsUser, $moduleConfig) + function getDefaultView(&$controller, &$xoopsUser) { if ((!isset($_REQUEST['code'])) || (!isset($_REQUEST['email']))) { return USER_FRAME_VIEW_INPUT; @@ -53,7 +53,7 @@ function _updatePassword(&$controller) { $this->mActionForm->fetch(); - $userHandler =& xoops_getmodulehandler('users'); + $userHandler =& xoops_gethandler('user'); $lostUserArr =& $userHandler->getObjects(new Criteria('email', $this->mActionForm->get('email'))); if (is_array($lostUserArr) && count($lostUserArr) > 0) { $lostUser =& $lostUserArr[0]; @@ -87,7 +87,7 @@ return USER_FRAME_VIEW_INPUT; } - $userHandler =& xoops_getmodulehandler('users'); + $userHandler =& xoops_gethandler('user'); $lostUserArr =& $userHandler->getObjects(new Criteria('email', $this->mActionForm->get('email'))); if (is_array($lostUserArr) && count($lostUserArr) > 0) {