From 6d7ce67db1c62f5436cf8aa6819c545097a66f96 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 29 Nov 2007 07:22:11 +0000 Subject: fixed duplicate login in standalone mode (mostly untested in grid mode) --- OpenSim/Framework/Communications/LoginService.cs | 3 +-- OpenSim/Framework/Communications/UserManagerBase.cs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenSim/Framework/Communications') diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index 450bada..118668c 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -185,8 +185,7 @@ namespace OpenSim.Framework.UserManagement /// Successful? public bool CommitAgent(ref UserProfileData profile) { - // Saves the agent to database - return true; + return m_userManager.CommitAgent(ref profile); } diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 6916519..74dba4c 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs @@ -355,8 +355,8 @@ namespace OpenSim.Framework.UserManagement /// Successful? public bool CommitAgent(ref UserProfileData profile) { - // Saves the agent to database - return true; + // TODO: how is this function different from setUserProfile? + return setUserProfile(profile); } #endregion -- cgit v1.1