Minahito
minah****@users*****
2006年 11月 15日 (水) 19:45:03 JST
Index: xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.22 xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.23 --- xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php:1.1.2.22 Sun Nov 12 14:18:43 2006 +++ xoops2jp/html/modules/legacy/kernel/Legacy_Controller.class.php Wed Nov 15 19:45:03 2006 @@ -42,16 +42,6 @@ /** * @var XCube_Delegate */ - var $mGetCountUnreadPM = null; - - /** - * @var XCube_Delegate - */ - var $mGetPMInboxUrl = null; - - /** - * @var XCube_Delegate - */ var $mCheckLogin = null; /** @@ -98,9 +88,6 @@ // $this->mSetupUser->register("Legacy_Controller.SetupUser"); - $this->mGetCountUnreadPM =& new XCube_Delegate(); - $this->mGetPMInboxUrl =& new XCube_Delegate(); - $this->mCheckLogin =& new XCube_Delegate(); $this->mCheckLogin->register("Site.CheckLogin"); @@ -1024,34 +1011,6 @@ } /** - * Return URL of pm inbox. This is X2 fixed feature. - * - * @param $uid int ID of the user - * @return string if any functions don't return value, return null. - */ - function getPMInboxUrl($uid) - { - $url = null; - $this->mGetPMInboxUrl->call(new XCube_Ref($url), $uid); - - return $url; - } - - /** - * Return counts of unread pm. This is X2 fixed feature. - * - * @param $uid int ID of the user - * @return int - */ - function getCountUnreadPM($uid) - { - $count = 0; - $this->mGetCountUnreadPM->call(new XCube_Ref($count), $uid); - - return $count; - } - - /** * This member function works to redirect as well as redirect_header(). * But, this member function handles raw values which hasn't been converted * by htmlspecialchars(). Therefore, if user calls this function with the