diff options
author | Justin Clarke Casey | 2008-04-23 17:04:15 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-04-23 17:04:15 +0000 |
commit | 4db839c3b84bed8a775074beb1ae0b526bc05e81 (patch) | |
tree | e412c914e674aa874ca22ddf99a44459d1811868 /OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | |
parent | * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF) (diff) | |
download | opensim-SC-4db839c3b84bed8a775074beb1ae0b526bc05e81.zip opensim-SC-4db839c3b84bed8a775074beb1ae0b526bc05e81.tar.gz opensim-SC-4db839c3b84bed8a775074beb1ae0b526bc05e81.tar.bz2 opensim-SC-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/Framework/Communications/Cache/InventoryFolderImpl.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs index daf9ab5..7812499 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | |||
@@ -79,14 +79,12 @@ namespace OpenSim.Framework.Communications.Cache | |||
79 | 79 | ||
80 | /// <summary> | 80 | /// <summary> |
81 | /// Delete all the folders and items in this folder. | 81 | /// Delete all the folders and items in this folder. |
82 | /// | ||
83 | /// TODO: This method is not used yet, but will be shortly | ||
84 | /// </summary> | 82 | /// </summary> |
85 | public void DeleteAllContents() | 83 | public void Purge() |
86 | { | 84 | { |
87 | foreach (InventoryFolderImpl folder in SubFolders.Values) | 85 | foreach (InventoryFolderImpl folder in SubFolders.Values) |
88 | { | 86 | { |
89 | folder.DeleteAllContents(); | 87 | folder.Purge(); |
90 | } | 88 | } |
91 | 89 | ||
92 | SubFolders.Clear(); | 90 | SubFolders.Clear(); |
@@ -206,7 +204,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
206 | } | 204 | } |
207 | 205 | ||
208 | /// <summary> | 206 | /// <summary> |
209 | /// Return the list of folders in this folder | 207 | /// Return the list of immediate child folders in this folder. |
210 | /// </summary> | 208 | /// </summary> |
211 | public List<InventoryFolderBase> RequestListOfFolders() | 209 | public List<InventoryFolderBase> RequestListOfFolders() |
212 | { | 210 | { |