Minahito
minah****@users*****
2006年 10月 14日 (土) 17:25:42 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_RoleManager.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_RoleManager.class.php:1.1.2.1 xoops2jp/html/modules/base/kernel/Legacy_RoleManager.class.php:1.1.2.2 --- xoops2jp/html/modules/base/kernel/Legacy_RoleManager.class.php:1.1.2.1 Fri Oct 6 18:48:56 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_RoleManager.class.php Sat Oct 14 17:25:41 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_RoleManager.class.php,v 1.1.2.1 2006/10/06 09:48:56 minahito Exp $ + * @version $Id: Legacy_RoleManager.class.php,v 1.1.2.2 2006/10/14 08:25:41 minahito Exp $ */ /** @@ -53,7 +53,6 @@ /** * Loads roles of the specific module with $mid, and set loaded roles to * the current principal. - * @static * @param int $mid */ function loadRolesByMid($mid) @@ -62,14 +61,13 @@ $module =& $handler->get($mid); if (is_object($module)) { - Legacy_RoleManager::loadRolesByModule($module); + $this->loadRolesByModule($module); } } /** * Loads roles of the specific module with $dirname, and set loaded roles * to the current principal. - * @static * @param string $dirname The dirname of the specific module. * @see loadRolesByMid() */ @@ -79,7 +77,7 @@ $module =& $handler->getByDirname($dirname); if (is_object($module)) { - Legacy_RoleManager::loadRolesByModule($module); + $this->loadRolesByModule($module); } } }