From 45c50998c23657764918649b8966f429674b0c92 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 27 Nov 2008 19:43:26 +0000 Subject: * Remove unused and largely unimplemented UpdateUserCurrentRegion() * please say if this causes you a problem --- OpenSim/Framework/Communications/IUserService.cs | 8 -------- OpenSim/Framework/Communications/UserManagerBase.cs | 15 --------------- OpenSim/Framework/IUserData.cs | 4 +--- 3 files changed, 1 insertion(+), 26 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/IUserService.cs b/OpenSim/Framework/Communications/IUserService.cs index 178b5a0..ecbbd32 100644 --- a/OpenSim/Framework/Communications/IUserService.cs +++ b/OpenSim/Framework/Communications/IUserService.cs @@ -115,14 +115,6 @@ namespace OpenSim.Framework.Communications List GetUserFriendList(UUID friendlistowner); /// - /// Updates the current region the User is in - /// - /// User Region the Avatar is IN - /// User Region the Avatar is IN - /// User region handle - void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle); - - /// /// Get's the User Appearance // AvatarAppearance GetUserAppearance(UUID user); diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index a929317..a5ca654 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs @@ -265,21 +265,6 @@ namespace OpenSim.Framework.Communications return null; } - public void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) - { - foreach (IUserDataPlugin plugin in _plugins) - { - try - { - plugin.UpdateUserCurrentRegion(avatarid, regionuuid, regionhandle); - } - catch (Exception e) - { - m_log.Info("[USERSTORAGE]: Unable to updateuser location via " + plugin.Name + "(" + e.ToString() + ")"); - } - } - } - /// /// Loads a user's friend list /// diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs index 0936495..4653255 100644 --- a/OpenSim/Framework/IUserData.cs +++ b/OpenSim/Framework/IUserData.cs @@ -92,14 +92,12 @@ namespace OpenSim.Framework /// UserProfile to add void AddNewUserProfile(UserProfileData user); - /// + /// /// Updates an existing user profile /// /// UserProfile to update bool UpdateUserProfile(UserProfileData user); - - void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle); /// /// Adds a new agent to the database /// -- cgit v1.1