aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-15 19:02:34 +0000
committerJustin Clarke Casey2008-09-15 19:02:34 +0000
commitddaa90d270c9bd10c74cf89b29b45963719f9b60 (patch)
tree638e92f3f5a079335901dc4011a1425f33ff2328 /OpenSim/Region/Environment/Modules/Avatar
parent* oops! Add interface file I forgot in the last checkin (diff)
downloadopensim-SC_OLD-ddaa90d270c9bd10c74cf89b29b45963719f9b60.zip
opensim-SC_OLD-ddaa90d270c9bd10c74cf89b29b45963719f9b60.tar.gz
opensim-SC_OLD-ddaa90d270c9bd10c74cf89b29b45963719f9b60.tar.bz2
opensim-SC_OLD-ddaa90d270c9bd10c74cf89b29b45963719f9b60.tar.xz
* refactor: collapse UpdateUserProfileProperties() into existing UpdateUserProfile
* the methods were identical except that the Properties one did a check for the user profile beforehand. However, every caller was doing this already anyway.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
index f9c0dcf..b1cf802 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs
@@ -134,7 +134,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles
134 { 134 {
135 return; 135 return;
136 } 136 }
137 if (m_scene.CommsManager.UserService.UpdateUserProfileProperties(Profile)) 137
138 if (m_scene.CommsManager.UserService.UpdateUserProfile(Profile))
138 { 139 {
139 RequestAvatarProperty(remoteClient, newProfile.ID); 140 RequestAvatarProperty(remoteClient, newProfile.ID);
140 } 141 }