diff options
author | Justin Clarke Casey | 2008-09-15 19:02:34 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-15 19:02:34 +0000 |
commit | ddaa90d270c9bd10c74cf89b29b45963719f9b60 (patch) | |
tree | 638e92f3f5a079335901dc4011a1425f33ff2328 /OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | |
parent | * oops! Add interface file I forgot in the last checkin (diff) | |
download | opensim-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/Profiles/AvatarProfilesModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | 3 |
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 | } |