mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
A better purge of trash folder.
This commit is contained in:
@@ -653,7 +653,9 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
|
||||
if (RootFolder.DeleteItem(item.ID))
|
||||
{
|
||||
return m_InventoryService.DeleteItem(item);
|
||||
List<UUID> uuids = new List<UUID>();
|
||||
uuids.Add(itemID);
|
||||
return m_InventoryService.DeleteItems(this.UserProfile.ID, uuids);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -547,7 +547,7 @@ namespace OpenSim.Framework.Communications.Tests
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool DeleteItem(InventoryItemBase item)
|
||||
public bool DeleteItems(UUID owner, List<UUID> items)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -257,7 +257,7 @@ namespace OpenSim.Framework
|
||||
IClientAPI remoteClient, UUID folderID, UUID itemID, int length, string newName);
|
||||
|
||||
public delegate void RemoveInventoryItem(
|
||||
IClientAPI remoteClient, UUID itemID);
|
||||
IClientAPI remoteClient, List<UUID> itemIDs);
|
||||
|
||||
public delegate void RemoveInventoryFolder(
|
||||
IClientAPI remoteClient, UUID folderID);
|
||||
|
||||
Reference in New Issue
Block a user