mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
* 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.
This commit is contained in:
@@ -2254,7 +2254,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return;
|
||||
}
|
||||
UserProfile.HomeRegionID = info.RegionID;
|
||||
CommsManager.UserService.UpdateUserProfileProperties(UserProfile);
|
||||
CommsManager.UserService.UpdateUserProfile(UserProfile);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2355,7 +2355,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
UserProfile.HomeRegion = RegionInfo.RegionHandle;
|
||||
UserProfile.HomeLocation = position;
|
||||
UserProfile.HomeLookAt = lookAt;
|
||||
CommsManager.UserService.UpdateUserProfileProperties(UserProfile);
|
||||
CommsManager.UserService.UpdateUserProfile(UserProfile);
|
||||
|
||||
remoteClient.SendAgentAlertMessage("Set home to here if supported by login service",false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user