diff options
author | Justin Clarke Casey | 2008-11-27 19:43:26 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-27 19:43:26 +0000 |
commit | 45c50998c23657764918649b8966f429674b0c92 (patch) | |
tree | f925d3976b4ae277db3e732c429014e5c30e5b5e /OpenSim/Framework | |
parent | * Add a file I forgot in the last commit. (diff) | |
download | opensim-SC-45c50998c23657764918649b8966f429674b0c92.zip opensim-SC-45c50998c23657764918649b8966f429674b0c92.tar.gz opensim-SC-45c50998c23657764918649b8966f429674b0c92.tar.bz2 opensim-SC-45c50998c23657764918649b8966f429674b0c92.tar.xz |
* Remove unused and largely unimplemented UpdateUserCurrentRegion()
* please say if this causes you a problem
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/IUserService.cs | 8 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 15 | ||||
-rw-r--r-- | OpenSim/Framework/IUserData.cs | 4 |
3 files changed, 1 insertions, 26 deletions
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 | |||
115 | List<FriendListItem> GetUserFriendList(UUID friendlistowner); | 115 | List<FriendListItem> GetUserFriendList(UUID friendlistowner); |
116 | 116 | ||
117 | /// <summary> | 117 | /// <summary> |
118 | /// Updates the current region the User is in | ||
119 | /// </summary> | ||
120 | /// <param name="avatarid">User Region the Avatar is IN</param> | ||
121 | /// <param name="regionuuid">User Region the Avatar is IN</param> | ||
122 | /// <param name="regionhandle">User region handle</param> | ||
123 | void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle); | ||
124 | |||
125 | /// <summary> | ||
126 | /// Get's the User Appearance | 118 | /// Get's the User Appearance |
127 | // AvatarAppearance GetUserAppearance(UUID user); | 119 | // AvatarAppearance GetUserAppearance(UUID user); |
128 | 120 | ||
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 | |||
265 | return null; | 265 | return null; |
266 | } | 266 | } |
267 | 267 | ||
268 | public void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) | ||
269 | { | ||
270 | foreach (IUserDataPlugin plugin in _plugins) | ||
271 | { | ||
272 | try | ||
273 | { | ||
274 | plugin.UpdateUserCurrentRegion(avatarid, regionuuid, regionhandle); | ||
275 | } | ||
276 | catch (Exception e) | ||
277 | { | ||
278 | m_log.Info("[USERSTORAGE]: Unable to updateuser location via " + plugin.Name + "(" + e.ToString() + ")"); | ||
279 | } | ||
280 | } | ||
281 | } | ||
282 | |||
283 | /// <summary> | 268 | /// <summary> |
284 | /// Loads a user's friend list | 269 | /// Loads a user's friend list |
285 | /// </summary> | 270 | /// </summary> |
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 | |||
92 | /// <param name="user">UserProfile to add</param> | 92 | /// <param name="user">UserProfile to add</param> |
93 | void AddNewUserProfile(UserProfileData user); | 93 | void AddNewUserProfile(UserProfileData user); |
94 | 94 | ||
95 | /// <summary> | 95 | /// <summary></summary> |
96 | /// Updates an existing user profile | 96 | /// Updates an existing user profile |
97 | /// </summary> | 97 | /// </summary> |
98 | /// <param name="user">UserProfile to update</param> | 98 | /// <param name="user">UserProfile to update</param> |
99 | bool UpdateUserProfile(UserProfileData user); | 99 | bool UpdateUserProfile(UserProfileData user); |
100 | 100 | ||
101 | |||
102 | void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle); | ||
103 | /// <summary> | 101 | /// <summary> |
104 | /// Adds a new agent to the database | 102 | /// Adds a new agent to the database |
105 | /// </summary> | 103 | /// </summary> |