NobuNobu
nobun****@users*****
2006年 7月 9日 (日) 00:50:58 JST
Index: xoops2jp/html/modules/base/blocks/legacy_waiting.php diff -u xoops2jp/html/modules/base/blocks/legacy_waiting.php:1.1.2.2 xoops2jp/html/modules/base/blocks/legacy_waiting.php:1.1.2.3 --- xoops2jp/html/modules/base/blocks/legacy_waiting.php:1.1.2.2 Sun Apr 2 23:54:57 2006 +++ xoops2jp/html/modules/base/blocks/legacy_waiting.php Sun Jul 9 00:50:58 2006 @@ -1,11 +1,8 @@ <?php function b_legacy_waiting_show() { - global $xoopsUser; - $xoopsDB =& Database::getInstance(); - $module_handler =& xoops_gethandler('module'); - $modules = array(); - $block =& XCube_EventUtils::quickRaiseEvent('Legacyblock.Wating.Show', array('modules'=>&$modules)); + XCube_DelegateUtils::call('Legacyblock.Wating.Show', new XCube_Ref(&$modules)); + $block['modules'] = $modules; return $block; } ?>