Minahito
minah****@users*****
2006年 4月 11日 (火) 19:03:53 JST
Index: xoops2jp/html/modules/user/actions/AvatarEditAction.class.php diff -u xoops2jp/html/modules/user/actions/AvatarEditAction.class.php:1.1.2.4 xoops2jp/html/modules/user/actions/AvatarEditAction.class.php:1.1.2.5 --- xoops2jp/html/modules/user/actions/AvatarEditAction.class.php:1.1.2.4 Tue Mar 28 22:31:02 2006 +++ xoops2jp/html/modules/user/actions/AvatarEditAction.class.php Tue Apr 11 19:03:53 2006 @@ -97,7 +97,7 @@ * 2) A current user has to equal the specified user, or a current user has * to be a administrator. */ - function isPerm(&$controller, &$xoopsUser) + function hasPerm(&$controller, &$xoopsUser) { if (!is_object($this->mObject)) { return false; Index: xoops2jp/html/modules/user/actions/EditUserAction.class.php diff -u xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.7 xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.8 --- xoops2jp/html/modules/user/actions/EditUserAction.class.php:1.1.2.7 Tue Mar 28 22:31:02 2006 +++ xoops2jp/html/modules/user/actions/EditUserAction.class.php Tue Apr 11 19:03:53 2006 @@ -34,7 +34,7 @@ return true; } - function isPerm(&$controller, &$xoopsUser, &$moduleConfig) + function hasPerm(&$controller, &$xoopsUser, &$moduleConfig) { if ($this->mObject != null) { return ($this->mObject->get('uid') == $xoopsUser->get('uid') || $xoopsUser->isAdmin()); Index: xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php diff -u xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php:1.1.2.4 xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php:1.1.2.5 --- xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php:1.1.2.4 Tue Mar 28 22:31:02 2006 +++ xoops2jp/html/modules/user/actions/AvatarSelectAction.class.php Tue Apr 11 19:03:53 2006 @@ -66,7 +66,7 @@ * 2) A current user has to equal the specified user, or a current user has * to be a administrator. */ - function isPerm(&$controller, &$xoopsUser) + function hasPerm(&$controller, &$xoopsUser) { if (!is_object($this->mObject)) { return false; Index: xoops2jp/html/modules/user/actions/LostPassAction.class.php diff -u xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.2 xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.3 --- xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.2 Tue Mar 28 22:31:02 2006 +++ xoops2jp/html/modules/user/actions/LostPassAction.class.php Tue Apr 11 19:03:53 2006 @@ -20,7 +20,7 @@ return false; } - function isPerm(&$controller, &$xoopsUser) + function hasPerm(&$controller, &$xoopsUser) { return !is_object($xoopsUser); }