diff options
author | Diva Canto | 2010-01-10 10:40:07 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-10 10:40:07 -0800 |
commit | 1e1b2ab221851efc414678b7ea52ef2ca788ce9f (patch) | |
tree | 29b6aa80e54a9c18529ae14e7d185fe67582d151 /OpenSim/Region/DataSnapshot/LandSnapshot.cs | |
parent | Add a "LockedOut" flag to allow locking a region out via the grid server. (diff) | |
download | opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.zip opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.gz opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.bz2 opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.xz |
* OMG! All but one references to UserProfileCacheService have been rerouted!
* HG is seriously broken here
* Compiles. Untested.
Diffstat (limited to 'OpenSim/Region/DataSnapshot/LandSnapshot.cs')
-rw-r--r-- | OpenSim/Region/DataSnapshot/LandSnapshot.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/DataSnapshot/LandSnapshot.cs b/OpenSim/Region/DataSnapshot/LandSnapshot.cs index 51eacef..141c05b 100644 --- a/OpenSim/Region/DataSnapshot/LandSnapshot.cs +++ b/OpenSim/Region/DataSnapshot/LandSnapshot.cs | |||
@@ -37,6 +37,7 @@ using OpenSim.Region.CoreModules.World.Land; | |||
37 | using OpenSim.Region.DataSnapshot.Interfaces; | 37 | using OpenSim.Region.DataSnapshot.Interfaces; |
38 | using OpenSim.Region.Framework.Interfaces; | 38 | using OpenSim.Region.Framework.Interfaces; |
39 | using OpenSim.Region.Framework.Scenes; | 39 | using OpenSim.Region.Framework.Scenes; |
40 | using OpenSim.Services.Interfaces; | ||
40 | 41 | ||
41 | namespace OpenSim.Region.DataSnapshot.Providers | 42 | namespace OpenSim.Region.DataSnapshot.Providers |
42 | { | 43 | { |
@@ -258,8 +259,8 @@ namespace OpenSim.Region.DataSnapshot.Providers | |||
258 | try | 259 | try |
259 | { | 260 | { |
260 | XmlNode username = nodeFactory.CreateNode(XmlNodeType.Element, "name", ""); | 261 | XmlNode username = nodeFactory.CreateNode(XmlNodeType.Element, "name", ""); |
261 | CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(userOwnerUUID); | 262 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, userOwnerUUID); |
262 | username.InnerText = profile.UserProfile.FirstName + " " + profile.UserProfile.SurName; | 263 | username.InnerText = account.FirstName + " " + account.LastName; |
263 | userblock.AppendChild(username); | 264 | userblock.AppendChild(username); |
264 | } | 265 | } |
265 | catch (Exception) | 266 | catch (Exception) |