Allow the trash folder itself to be passed to PurgeFolder
parent
2892ae6b06
commit
8b7e006ed0
|
@ -542,6 +542,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)
|
||||
|
|
Loading…
Reference in New Issue