From 9f7639fd6d2d7fd37587223259303377ee15bab4 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 18 Mar 2008 03:41:05 +0000 Subject: Formatting cleanup. --- OpenSim/Framework/Communications/UserManagerBase.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs') diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index b8e3114..48807c2 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs @@ -194,7 +194,6 @@ namespace OpenSim.Framework.UserManagement /// A List of FriendListItems that contains info about the user's friends public List GetUserFriendList(LLUUID ownerID) { - foreach (KeyValuePair plugin in _plugins) { try @@ -208,12 +207,10 @@ namespace OpenSim.Framework.UserManagement } return null; - } public void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey) { - foreach (KeyValuePair plugin in _plugins) { try @@ -240,10 +237,8 @@ namespace OpenSim.Framework.UserManagement m_log.Info("[USERSTORAGE]: Unable to AddNewUserFriend via " + plugin.Key + "(" + e.ToString() + ")"); } } - } - public void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) { foreach (KeyValuePair plugin in _plugins) @@ -273,6 +268,7 @@ namespace OpenSim.Framework.UserManagement } } } + /// /// Loads a user agent by name (not called directly) /// @@ -295,7 +291,10 @@ namespace OpenSim.Framework.UserManagement return null; } - // TODO: document + /// + /// Resets the currentAgent in the user profile + /// + /// The agent's ID public void clearUserAgent(LLUUID agentID) { UserProfileData profile = GetUserProfile(agentID); @@ -459,7 +458,6 @@ namespace OpenSim.Framework.UserManagement // If currentagent is null, we can't reference it here or the UserServer crashes! m_log.Info("[LOGOUT]: didn't save logout position: " + userid.ToString()); } - } else { -- cgit v1.1