[xoops-cvslog 3370] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Minahito minah****@users*****
2006年 6月 27日 (火) 18:11:03 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.41 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.42
--- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.41	Thu Jun 22 14:58:00 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php	Tue Jun 27 18:11:03 2006
@@ -308,13 +308,11 @@
 
 	function _setupUser()
 	{
-		$xoopsUser = null;
-		$this->mSiteLogin->call(new XCube_Ref($xoopsUser));
+		$this->mSiteLogin->call(new XCube_Ref($this->mXoopsUser));
 		
 		// Set instance to global variable for compatiblity with XOOPS 2.0.x
-		$this->mXoopsUser =& $xoopsUser;
-		$GLOBALS['xoopsUser'] =& $xoopsUser;
-		$GLOBALS['xoopsUserIsAdmin'] = is_object($xoopsUser) ? $xoopsUser->isAdmin(1) : false;	//@todo Remove '1'
+		$GLOBALS['xoopsUser'] =& $this->mXoopsUser;
+		$GLOBALS['xoopsUserIsAdmin'] = is_object($this->mXoopsUser) ? $this->mXoopsUser->isAdmin(1) : false;	//@todo Remove '1'
 
 		//
 		// Set member handler to global variables for compatibility with XOOPS 2.0.x.


xoops-cvslog メーリングリストの案内
Back to archive index