[xoops-cvslog 3664] CVS update: xoops2jp/html/include

Back to archive index

Minahito minah****@users*****
2006年 7月 25日 (火) 18:07:54 JST


Index: xoops2jp/html/include/checklogin.php
diff -u xoops2jp/html/include/checklogin.php:1.2.8.4 xoops2jp/html/include/checklogin.php:1.2.8.5
--- xoops2jp/html/include/checklogin.php:1.2.8.4	Mon Nov 14 18:03:28 2005
+++ xoops2jp/html/include/checklogin.php	Tue Jul 25 18:07:54 2006
@@ -3,7 +3,7 @@
  @package base
  @deprecated
  */
-// $Id: checklogin.php,v 1.2.8.4 2005/11/14 09:03:28 minahito Exp $
+// $Id: checklogin.php,v 1.2.8.5 2006/07/25 09:07:54 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                  Copyright (c) 2005 XOOPS Cube.org                        //
@@ -29,15 +29,10 @@
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
 //  ------------------------------------------------------------------------ //
 
-if (!defined('XOOPS_ROOT_PATH'))
-    exit();
+if (!defined('XOOPS_ROOT_PATH')) exit();
 
-require_once XOOPS_ROOT_PATH."/class/XCube_EventArgs.class.php";
-
-$root=&XCube_Root::getSingleton();
-$checkLoginEventArgs = new CheckLoginEventArgs();
-
-$root->mEventManager->raiseEvent("Site.CheckLogin",$root->mController,$checkLoginEventArgs);
+$root =& XCube_Root::getSingleton();
+$root->mController->checkLogin();
 
 //
 // ToDo Add after care!


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