Minahito
minah****@users*****
2006年 2月 9日 (木) 18:10:52 JST
Index: xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php diff -u xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.6 xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.7 --- xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php:1.1.2.6 Fri Dec 30 17:23:24 2005 +++ xoops2jp/html/modules/base/admin/class/ModuleUninstaller.class.php Thu Feb 9 18:10:52 2006 @@ -92,12 +92,12 @@ $blockHandler =& xoops_gethandler('block'); $criteria = new Criteria('mid', $this->mModule->getVar('mid')); - $blocks =& $blockHandler->getObjects($criteria); - + $blocks =& $blockHandler->getObjectsDirectly($criteria); + $gpermHandler =& xoops_gethandler('groupperm'); foreach ($blocks as $block) { $blockHandler->delete($block); - $this->mLog->addReport("Uninstall block '".$block->getName('block')); + $this->mLog->addReport("Uninstall block '".$block->getVar('name')); // // delete permission