From 2fddd775f48d9261772f804f0396bb24768afae7 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sun, 30 Mar 2008 00:45:04 +0000 Subject: * Stop the grid inventory service sending all folder and item details twice * This change will have no functional impact - we were already filtering out the dupes on the other end. --- .../Communications/InventoryServiceBase.cs | 33 +--------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs') diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index 719e0d6..a0228e8 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -75,42 +75,11 @@ namespace OpenSim.Framework.Communications #endregion #region IInventoryServices methods - - /// - /// Returns the root folder plus any folders in root (so down one level in the Inventory folders tree) - /// for the given user. - /// - /// - /// - public List RequestFirstLevelFolders(LLUUID userID) - { - List inventoryList = new List(); - InventoryFolderBase rootFolder = null; - - foreach (KeyValuePair plugin in m_plugins) - { - rootFolder = plugin.Value.getUserRootFolder(userID); - if (rootFolder != null) - { - m_log.Info( - "[INVENTORY]: Found root folder for user with ID " + userID + ". Retrieving inventory contents."); - - inventoryList = plugin.Value.getInventoryFolders(rootFolder.folderID); - inventoryList.Insert(0, rootFolder); - return inventoryList; - } - } - - m_log.Warn( - "[INVENTORY]: Could not find a root folder belonging to user with ID " + userID); - - return inventoryList; - } // See IInventoryServices public List GetInventorySkeleton(LLUUID userId) { - m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); + //m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); List userFolders = new List(); -- cgit v1.1