mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Allow the trash folder itself to be passed to PurgeFolder
This commit is contained in:
@@ -541,6 +541,9 @@ namespace OpenSim.Services.InventoryService
|
||||
if (folder.Length < 1)
|
||||
return false;
|
||||
|
||||
if (folder[0].type == (int)AssetType.TrashFolder)
|
||||
return true;
|
||||
|
||||
UUID parentFolder = folder[0].parentFolderID;
|
||||
|
||||
while (parentFolder != UUID.Zero)
|
||||
|
||||
Reference in New Issue
Block a user