OpenSim/Data/SQLite/SQLiteInventoryStore.cs
/// <summary>
/// Delete all items in the specified folder
/// </summary>
/// <param name="folderId">id of the folder, whose item content should be deleted</param>
/// <todo>this is horribly inefficient, but I don't want to ruin the overall structure of this implementation</todo>
Delete all items in the specified folder
Delete all items in the specified folder
private void deleteItemsInFolder(UUID folderId)
        {
            List<InventoryItemBase> items = getInventoryInFolder(folderId);
            foreach (InventoryItemBase i in items)
                deleteInventoryItem(i.ID);
        }
private void deleteItemsInFolder ( UUID folderId ) { List < InventoryItemBase > items = getInventoryInFolder ( folderId ) ; foreach ( InventoryItemBase i in items ) deleteInventoryItem ( i . ID ) ; }
Delete all items in the specified folder
Delete all items in the specified folder
folderId
UUID
id of the folder, whose item content should be deleted
id of the folder whose item content should be deleted
todo
this is horribly inefficient, but I don't want to ruin the overall structure of this implementation
this is horribly inefficient but I don ' t want to ruin the overall structure of this implementation