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/CoreModules/Framework/Library/LibraryModule.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 '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs index f1022fd..cc5b0e4 100644 --- a/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Library/LibraryModule.cs | |||
@@ -162,11 +162,10 @@ namespace OpenSim.Region.CoreModules.Framework.Library | |||
162 | m_MockScene.RegisterModuleInterface<IInventoryService>(invService); | 162 | m_MockScene.RegisterModuleInterface<IInventoryService>(invService); |
163 | m_MockScene.RegisterModuleInterface<IAssetService>(m_Scene.AssetService); | 163 | m_MockScene.RegisterModuleInterface<IAssetService>(m_Scene.AssetService); |
164 | 164 | ||
165 | UserProfileData profile = new UserProfileData(); | 165 | UserAccount uinfo = new UserAccount(lib.Owner); |
166 | profile.FirstName = "OpenSim"; | 166 | uinfo.FirstName = "OpenSim"; |
167 | profile.ID = lib.Owner; | 167 | uinfo.LastName = "Library"; |
168 | profile.SurName = "Library"; | 168 | uinfo.ServiceURLs = new Dictionary<string, object>(); |
169 | CachedUserInfo uinfo = new CachedUserInfo(invService, profile); | ||
170 | 169 | ||
171 | foreach (string iarFileName in Directory.GetFiles(pathToLibraries, "*.iar")) | 170 | foreach (string iarFileName in Directory.GetFiles(pathToLibraries, "*.iar")) |
172 | { | 171 | { |