NobuNobu
nobun****@users*****
2006年 2月 28日 (火) 23:38:59 JST
Index: xoops2jp/html/class/XCube_EventManager.class.php diff -u xoops2jp/html/class/XCube_EventManager.class.php:1.1.2.7 xoops2jp/html/class/XCube_EventManager.class.php:1.1.2.8 --- xoops2jp/html/class/XCube_EventManager.class.php:1.1.2.7 Sat Feb 4 14:43:19 2006 +++ xoops2jp/html/class/XCube_EventManager.class.php Tue Feb 28 23:38:59 2006 @@ -40,6 +40,12 @@ function replaceEvent($eventName,&$eventHandler) { + if(isset($this->_mReserveEventList[$eventName])) { + unset($this->_mReserveEventList[$eventName]); + } + if(isset($this->_mRegistedFlags[$eventName])) { + unset($this->_mRegistedFlags[$eventName]); + } if(isset($this->_mEvents[$eventName])) { if(strtolower(get_class($this->_mEvents[$eventName]))=="xcube_event") { //