From e0cf45fe21d07860e7cea624392e180f38662774 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 31 Dec 2007 20:09:47 +0000 Subject: [PATCH] Move unused inventory files into the attic --- OpenSim/Grid/InventoryServer/InventoryManager.cs | 4 ++-- bin/inventory/README.txt | 2 +- bin/inventory/{ => attic}/Inventory_Default.xml | 0 bin/inventory/{ => attic}/Inventory_Library.xml | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename bin/inventory/{ => attic}/Inventory_Default.xml (100%) rename bin/inventory/{ => attic}/Inventory_Library.xml (100%) diff --git a/OpenSim/Grid/InventoryServer/InventoryManager.cs b/OpenSim/Grid/InventoryServer/InventoryManager.cs index cea8f3194e..6ca50645a1 100644 --- a/OpenSim/Grid/InventoryServer/InventoryManager.cs +++ b/OpenSim/Grid/InventoryServer/InventoryManager.cs @@ -149,10 +149,10 @@ namespace OpenSim.Grid.InventoryServer { _manager = manager; - _inventory = loadInventoryFromXmlFile("inventory/Inventory_Library.xml"); + _inventory = loadInventoryFromXmlFile("attic/inventory/Inventory_Library.xml"); if (fixupInventory(_inventory)) { - FileStream fs = new FileStream("inventory/Inventory_Library.xml", FileMode.Truncate, FileAccess.Write); + FileStream fs = new FileStream("attic/inventory/Inventory_Library.xml", FileMode.Truncate, FileAccess.Write); saveInventoryToStream(_inventory, fs); fs.Flush(); fs.Close(); diff --git a/bin/inventory/README.txt b/bin/inventory/README.txt index fdbbbdc04d..f32f1aaafe 100644 --- a/bin/inventory/README.txt +++ b/bin/inventory/README.txt @@ -11,4 +11,4 @@ this restriction will probably be lifted in the future, at which point the inventory items and folders will only need to be configured on the grid inventory server (assuming you are running in grid mode rather than standalone) -Inventory_Default.xml and Inventory_Library.xml are unused at the moment. +Files in the attic directory are currently unused. diff --git a/bin/inventory/Inventory_Default.xml b/bin/inventory/attic/Inventory_Default.xml similarity index 100% rename from bin/inventory/Inventory_Default.xml rename to bin/inventory/attic/Inventory_Default.xml diff --git a/bin/inventory/Inventory_Library.xml b/bin/inventory/attic/Inventory_Library.xml similarity index 100% rename from bin/inventory/Inventory_Library.xml rename to bin/inventory/attic/Inventory_Library.xml