diff options
author | Teravus Ovares (Dan Olivares) | 2009-09-09 16:20:46 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-09-09 16:20:46 -0400 |
commit | df9f80aabd872c11711e1e4efb400a1921a9cab2 (patch) | |
tree | a7d5582ed1d763224727c8a6bdf9c1c94a674abd /OpenSim/Framework | |
parent | * Lock timers when Calling Start() and Stop() when the Thread Context is murk... (diff) | |
parent | De-hardcode default home locations on create user (standalone). (diff) | |
download | opensim-SC_OLD-df9f80aabd872c11711e1e4efb400a1921a9cab2.zip opensim-SC_OLD-df9f80aabd872c11711e1e4efb400a1921a9cab2.tar.gz opensim-SC_OLD-df9f80aabd872c11711e1e4efb400a1921a9cab2.tar.bz2 opensim-SC_OLD-df9f80aabd872c11711e1e4efb400a1921a9cab2.tar.xz |
Merge branch 'master' of ssh://MyConnection/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Osp/OspResolver.cs | 7 | ||||
-rw-r--r-- | OpenSim/Framework/InventoryFolderBase.cs | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Osp/OspResolver.cs b/OpenSim/Framework/Communications/Osp/OspResolver.cs index 502fee3..e98317a 100644 --- a/OpenSim/Framework/Communications/Osp/OspResolver.cs +++ b/OpenSim/Framework/Communications/Osp/OspResolver.cs | |||
@@ -153,7 +153,9 @@ namespace OpenSim.Framework.Communications.Osp | |||
153 | CachedUserInfo userInfo = commsManager.UserProfileCacheService.GetUserDetails(firstName, lastName); | 153 | CachedUserInfo userInfo = commsManager.UserProfileCacheService.GetUserDetails(firstName, lastName); |
154 | if (userInfo != null) | 154 | if (userInfo != null) |
155 | return userInfo.UserProfile.ID; | 155 | return userInfo.UserProfile.ID; |
156 | 156 | ||
157 | // XXX: Disable temporary user profile creation for now as implementation is incomplete - justincc | ||
158 | /* | ||
157 | UserProfileData tempUserProfile = new UserProfileData(); | 159 | UserProfileData tempUserProfile = new UserProfileData(); |
158 | tempUserProfile.FirstName = firstName; | 160 | tempUserProfile.FirstName = firstName; |
159 | tempUserProfile.SurName = lastName; | 161 | tempUserProfile.SurName = lastName; |
@@ -164,6 +166,9 @@ namespace OpenSim.Framework.Communications.Osp | |||
164 | commsManager.UserService.AddTemporaryUserProfile(tempUserProfile); | 166 | commsManager.UserService.AddTemporaryUserProfile(tempUserProfile); |
165 | 167 | ||
166 | return tempUserProfile.ID; | 168 | return tempUserProfile.ID; |
169 | */ | ||
170 | |||
171 | return UUID.Zero; | ||
167 | } | 172 | } |
168 | } | 173 | } |
169 | } | 174 | } |
diff --git a/OpenSim/Framework/InventoryFolderBase.cs b/OpenSim/Framework/InventoryFolderBase.cs index 0edb2c6..3eef6f6 100644 --- a/OpenSim/Framework/InventoryFolderBase.cs +++ b/OpenSim/Framework/InventoryFolderBase.cs | |||
@@ -84,6 +84,14 @@ namespace OpenSim.Framework | |||
84 | Owner = owner; | 84 | Owner = owner; |
85 | } | 85 | } |
86 | 86 | ||
87 | public InventoryFolderBase(UUID id, string name, UUID owner, UUID parent) | ||
88 | { | ||
89 | ID = id; | ||
90 | Name = name; | ||
91 | Owner = owner; | ||
92 | ParentID = parent; | ||
93 | } | ||
94 | |||
87 | public InventoryFolderBase(UUID id, string name, UUID owner, short type, UUID parent, ushort version) | 95 | public InventoryFolderBase(UUID id, string name, UUID owner, short type, UUID parent, ushort version) |
88 | { | 96 | { |
89 | ID = id; | 97 | ID = id; |