[xoops-cvslog 3902] CVS update: xoops2jp/html/modules/base/class

Back to archive index

Minahito minah****@users*****
2006年 8月 3日 (木) 18:36:06 JST


Index: xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php
diff -u xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.16 xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.17
--- xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.16	Thu Jul 20 17:20:22 2006
+++ xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php	Thu Aug  3 18:36:06 2006
@@ -1,29 +1,8 @@
 <?php
-// $Id: Legacy_AdminModuleController.class.php,v 1.1.2.16 2006/07/20 08:20:22 minahito Exp $
-//  ------------------------------------------------------------------------ //
-//              XOOPSCube - PHP Content Management System                    //
-//                  Copyright (c) 2005 XOOPSCube.org                         //
-//                     <http://www.xoopscube.org/>                           //
-//  ------------------------------------------------------------------------ //
-//  This program is free software; you can redistribute it and/or modify     //
-//  it under the terms of the GNU General Public License as published by     //
-//  the Free Software Foundation; either version 2 of the License, or        //
-//  (at your option) any later version.                                      //
-//                                                                           //
-//  You may not change or alter any portion of this comment or credits       //
-//  of supporting developers from this source code or any supporting         //
-//  source code which is considered copyrighted (c) material of the          //
-//  original comment or credit authors.                                      //
-//                                                                           //
-//  This program is distributed in the hope that it will be useful,          //
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
-//  GNU General Public License for more details.                             //
-//                                                                           //
-//  You should have received a copy of the GNU General Public License        //
-//  along with this program; if not, write to the Free Software              //
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
-//  ------------------------------------------------------------------------ //
+/**
+ * @package Legacy
+ * @version $Id: Legacy_AdminModuleController.class.php,v 1.1.2.17 2006/08/03 09:36:06 minahito Exp $
+ */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
 
@@ -35,27 +14,9 @@
  */
 class Legacy_AdminModuleController extends Legacy_ModuleController
 {
-	function prepare()
+	function _isActiveCheck()
 	{
-		// Is this request module process?
-		if(!$this->isModuleProcess())
-			return;
-
-		$this->_createModuleObject();
-
-
-		//
-		// Set config values for this module
-		//
-		if($this->mModuleObject!=null) {
-			if($this->mModuleObject->getVar('hasconfig')==1 || $this->mModuleObject->getVar('hascomments')==1) {
-				$configHandler=&xoops_gethandler('config');
-				$this->mConfig=&$configHandler->getConfigsByCat(0,$this->mModuleObject->getVar('mid'));
-			}
-			
-			if(!defined('__XC_DIRNAME__'))
-				define('__XC_DIRNAME__', $this->mModuleObject->getVar('dirname'));
-		}
+		return false;
 	}
 
 	/**


xoops-cvslog メーリングリストの案内
Back to archive index