diff options
Diffstat (limited to 'OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs')
-rw-r--r-- | OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs index 1bfc736..568437d 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs | |||
@@ -53,28 +53,6 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
53 | new LocalUserServices( | 53 | new LocalUserServices( |
54 | serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY, this); | 54 | serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY, this); |
55 | localUserService.AddPlugin(configSettings.StandaloneUserPlugin, configSettings.StandaloneUserSource); | 55 | localUserService.AddPlugin(configSettings.StandaloneUserPlugin, configSettings.StandaloneUserSource); |
56 | |||
57 | HGInventoryServiceClient inventoryService | ||
58 | = new HGInventoryServiceClient(serversInfo.InventoryURL, null, false); | ||
59 | List<IInventoryDataPlugin> plugins | ||
60 | = DataPluginFactory.LoadDataPlugins<IInventoryDataPlugin>( | ||
61 | configSettings.StandaloneInventoryPlugin, | ||
62 | configSettings.StandaloneInventorySource); | ||
63 | |||
64 | foreach (IInventoryDataPlugin plugin in plugins) | ||
65 | { | ||
66 | // Using the OSP wrapper plugin should be made configurable at some point | ||
67 | inventoryService.AddPlugin(new OspInventoryWrapperPlugin(plugin, this)); | ||
68 | } | ||
69 | |||
70 | AddInventoryService(inventoryService); | ||
71 | m_defaultInventoryHost = inventoryService.Host; | ||
72 | m_interServiceInventoryService = inventoryService; | ||
73 | inventoryService.UserProfileCache = UserProfileCacheService; | ||
74 | |||
75 | // Let's swap to always be secure access to inventory | ||
76 | AddSecureInventoryService((ISecureInventoryService)inventoryService); | ||
77 | m_inventoryServices = null; | ||
78 | 56 | ||
79 | HGUserServices hgUserService = new HGUserServices(this, localUserService); | 57 | HGUserServices hgUserService = new HGUserServices(this, localUserService); |
80 | // This plugin arrangement could eventually be configurable rather than hardcoded here. | 58 | // This plugin arrangement could eventually be configurable rather than hardcoded here. |