Minahito
minah****@users*****
2006年 10月 6日 (金) 17:27:37 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_PublicControllerStrategy.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_PublicControllerStrategy.class.php:1.1.2.1 xoops2jp/html/modules/base/kernel/Legacy_PublicControllerStrategy.class.php:1.1.2.2 --- xoops2jp/html/modules/base/kernel/Legacy_PublicControllerStrategy.class.php:1.1.2.1 Thu Oct 5 18:08:12 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_PublicControllerStrategy.class.php Fri Oct 6 17:27:37 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_PublicControllerStrategy.class.php,v 1.1.2.1 2006/10/05 09:08:12 minahito Exp $ + * @version $Id: Legacy_PublicControllerStrategy.class.php,v 1.1.2.2 2006/10/06 08:27:37 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -122,8 +122,6 @@ if ($this->mController->mRoot->mContext->mModule != null) { $dirname = $this->mController->mRoot->mContext->mXoopsModule->get('dirname'); - $GLOBALS['xoopsUserIsAdmin'] = $this->mController->mRoot->mContext->mUser->isInRole("Module.${dirname}.Admin"); - return $this->mController->mRoot->mContext->mUser->isInRole("Module.${dirname}.Visitor"); }