From 5d2a157e64f19a061a37d5458b34cc563ee288a1 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 10 Aug 2009 10:48:21 -0700 Subject: First pass at cleaning up old OGS1 and Local Inventory: removed everything-inventory in CommsManager, which wasn't actively used anymore. --- .../Hypergrid/HGCommunicationsGridMode.cs | 10 ---------- .../Hypergrid/HGCommunicationsStandalone.cs | 22 ---------------------- 2 files changed, 32 deletions(-) (limited to 'OpenSim/Region/Communications/Hypergrid') diff --git a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs index 0e7ab9b..99a4057 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs @@ -59,16 +59,6 @@ namespace OpenSim.Region.Communications.Hypergrid m_gridService = gridInterComms; m_osw = gridInterComms; - // The HG InventoryService always uses secure handlers - HGInventoryServiceClient invService = new HGInventoryServiceClient(serversInfo.InventoryURL, this.m_userProfileCacheService, true); - invService.UserProfileCache = m_userProfileCacheService; - AddSecureInventoryService(invService); - m_defaultInventoryHost = invService.Host; - if (SecureInventoryService != null) - m_log.Info("[HG]: SecureInventoryService."); - else - m_log.Info("[HG]: Non-secureInventoryService."); - HGUserServices userServices = new HGUserServices(this); // This plugin arrangement could eventually be configurable rather than hardcoded here. userServices.AddPlugin(new TemporaryUserProfilePlugin()); 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 new LocalUserServices( serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY, this); localUserService.AddPlugin(configSettings.StandaloneUserPlugin, configSettings.StandaloneUserSource); - - HGInventoryServiceClient inventoryService - = new HGInventoryServiceClient(serversInfo.InventoryURL, null, false); - List plugins - = DataPluginFactory.LoadDataPlugins( - configSettings.StandaloneInventoryPlugin, - configSettings.StandaloneInventorySource); - - foreach (IInventoryDataPlugin plugin in plugins) - { - // Using the OSP wrapper plugin should be made configurable at some point - inventoryService.AddPlugin(new OspInventoryWrapperPlugin(plugin, this)); - } - - AddInventoryService(inventoryService); - m_defaultInventoryHost = inventoryService.Host; - m_interServiceInventoryService = inventoryService; - inventoryService.UserProfileCache = UserProfileCacheService; - - // Let's swap to always be secure access to inventory - AddSecureInventoryService((ISecureInventoryService)inventoryService); - m_inventoryServices = null; HGUserServices hgUserService = new HGUserServices(this, localUserService); // This plugin arrangement could eventually be configurable rather than hardcoded here. -- cgit v1.1