aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-23 17:04:15 +0000
committerJustin Clarke Casey2008-04-23 17:04:15 +0000
commit4db839c3b84bed8a775074beb1ae0b526bc05e81 (patch)
treee412c914e674aa874ca22ddf99a44459d1811868 /OpenSim/Region
parent* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF) (diff)
downloadopensim-SC_OLD-4db839c3b84bed8a775074beb1ae0b526bc05e81.zip
opensim-SC_OLD-4db839c3b84bed8a775074beb1ae0b526bc05e81.tar.gz
opensim-SC_OLD-4db839c3b84bed8a775074beb1ae0b526bc05e81.tar.bz2
opensim-SC_OLD-4db839c3b84bed8a775074beb1ae0b526bc05e81.tar.xz
* Implement proper emptying of trashcan on standalone
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items * An implementation for grid mode will follow.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Communications/Local/LocalInventoryService.cs10
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs10
2 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
index a567eeb..175829b 100644
--- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs
+++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
@@ -100,6 +100,16 @@ namespace OpenSim.Region.Communications.Local
100 DeleteItem(item); 100 DeleteItem(item);
101 } 101 }
102 102
103 /// <summary>
104 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see>
105 /// </summary>
106 /// <param name="userID"></param>
107 /// <param name="folder"></param>
108 public override void PurgeInventoryFolder(LLUUID userID, InventoryFolderBase folder)
109 {
110 PurgeFolder(folder);
111 }
112
103 public override bool HasInventoryForUser(LLUUID userID) 113 public override bool HasInventoryForUser(LLUUID userID)
104 { 114 {
105 InventoryFolderBase root = RequestRootFolder(userID); 115 InventoryFolderBase root = RequestRootFolder(userID);
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
index e0167a7..8c27cb1 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -175,6 +175,16 @@ namespace OpenSim.Region.Communications.OGS1
175 e.Source, e.Message); 175 e.Source, e.Message);
176 } 176 }
177 } 177 }
178
179 /// <summary>
180 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see>
181 /// </summary>
182 /// <param name="userID"></param>
183 /// <param name="folder"></param>
184 public void PurgeInventoryFolder(LLUUID userID, InventoryFolderBase folder)
185 {
186 // XXX No implementation yet (temporarily)!
187 }
178 188
179 public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item) 189 public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item)
180 { 190 {