Browse Source

[svn r9996] remove the event_login() during the connection (because now added in local.inc.php)

Eric Marguin 18 years ago
parent
commit
4214044b4c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.php

+ 2 - 2
index.php

@@ -233,7 +233,7 @@ if ($_POST["submitAuth"])
 				api_session_register('user_last_login_datetime');
 			}
 		mysql_free_result($resLastLogin);
-		event_login();
+		//event_login();
 		if (api_is_platform_admin())
 		{
 			// decode all open event informations and fill the track_c_* tables
@@ -292,7 +292,7 @@ function display_anonymous_right_menu()
 
 	$platformLanguage = api_get_setting('platformLanguage');
 
-	if ( !(isset(api_get_user_id()) && api_get_user_id()) ) // only display if the user isn't logged in
+	if ( !(api_get_user_id()) ) // only display if the user isn't logged in
 	{
 		api_display_language_form();
 		echo '<br />';