Minahito
minah****@users*****
2006年 11月 13日 (月) 19:48:30 JST
Index: xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php diff -u xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.7 xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.8 --- xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.7 Sun Nov 12 02:50:37 2006 +++ xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php Mon Nov 13 19:48:30 2006 @@ -928,6 +928,13 @@ return $successFlag; } + + function uninstallAllOfNotifications(&$module, &$log) + { + $handler =& xoops_gethandler('notification'); + $criteria =& new Criteria('not_modid', $module->get('mid')); + $handler->deleteAll($criteria); + } } define('LEGACY_BLOCKINFOMATION_STATUS_LOADED', "loaded");