NobuNobu
nobun****@users*****
2006年 12月 30日 (土) 22:49:24 JST
Index: xoops2jp/html/modules/user/actions/UserActivateAction.class.php diff -u xoops2jp/html/modules/user/actions/UserActivateAction.class.php:1.1.2.6.2.1 xoops2jp/html/modules/user/actions/UserActivateAction.class.php:1.1.2.6.2.2 --- xoops2jp/html/modules/user/actions/UserActivateAction.class.php:1.1.2.6.2.1 Thu Oct 5 19:18:12 2006 +++ xoops2jp/html/modules/user/actions/UserActivateAction.class.php Sat Dec 30 22:49:24 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: UserActivateAction.class.php,v 1.1.2.6.2.1 2006/10/05 10:18:12 minahito Exp $ + * @version $Id: UserActivateAction.class.php,v 1.1.2.6.2.2 2006/12/30 13:49:24 nobunobu Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -18,7 +18,7 @@ function &_getHandler() { - $handler =& xoops_getmodulehandler('users'); + $handler =& xoops_getmodulehandler('users', 'user'); return $handler; } @@ -62,9 +62,9 @@ $this->mObjectHandler->insert($this->mObject, true); if ($this->mConfig['activation_type'] == 2) { - $builder =& new RegistAdminCommitMailBuilder(); - $director =& new UserRegistMailDirector($this->mObject, $controller->mRoot->mContext->getXoopsConfig(), $this->mConfig); - $director->contruct($builder); + $builder =& new User_RegistAdminCommitMailBuilder(); + $director =& new User_UserRegistMailDirector($builder, $this->mObject, $controller->mRoot->mContext->getXoopsConfig(), $this->mConfig); + $director->contruct(); $mailer=&$builder->getResult(); if ($mailer->send()) { $controller->executeRedirect(XOOPS_URL . '/', 5, sprintf(_MD_USER_MESSAGE_ACTVMAILOK, $this->mObject->get('uname')));