Minahito
minah****@users*****
2006年 10月 13日 (金) 18:20:34 JST
Index: xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.10.2.1 xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.10.2.2 --- xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php:1.1.2.10.2.1 Thu Oct 12 20:02:10 2006 +++ xoops2jp/html/modules/base/admin/actions/ModuleListAction.class.php Fri Oct 13 18:20:34 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: ModuleListAction.class.php,v 1.1.2.10.2.1 2006/10/12 11:02:10 minahito Exp $ + * @version $Id: ModuleListAction.class.php,v 1.1.2.10.2.2 2006/10/13 09:20:34 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -28,13 +28,8 @@ $this->mFilter =& new Legacy_ModuleListFilterForm(); $this->mFilter->fetch(); - // dmy - $criteria =& new Criteria('mid', 0, '>'); - $criteria->setSort($this->mFilter->getSort()); - $criteria->setOrder($this->mFilter->getOrder()); - $moduleHandler =& xoops_gethandler('module'); - $this->mModuleObjects =& $moduleHandler->getObjects($criteria); + $this->mModuleObjects =& $moduleHandler->getObjects($this->mFilter->getCriteria()); return LEGACY_FRAME_VIEW_INDEX; }