diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index 61ec483..1e3dbb6 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |||
@@ -523,14 +523,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
523 | purgedBaseFolder.Type = purgedFolder.Type; | 523 | purgedBaseFolder.Type = purgedFolder.Type; |
524 | purgedBaseFolder.Version = purgedFolder.Version; | 524 | purgedBaseFolder.Version = purgedFolder.Version; |
525 | 525 | ||
526 | m_commsManager.InventoryService.PurgeInventoryFolder(remoteClient.AgentId, purgedBaseFolder); | 526 | m_commsManager.InventoryService.PurgeInventoryFolder(remoteClient.AgentId, purgedBaseFolder); |
527 | |||
528 | // XXX Remains temporarily so that we still delete items in the grid case. | ||
529 | List<InventoryItemBase> items = purgedFolder.RequestListOfItems(); | ||
530 | foreach (InventoryItemBase item in items) | ||
531 | { | ||
532 | userProfile.DeleteItem(remoteClient.AgentId, item); | ||
533 | } | ||
534 | 527 | ||
535 | purgedFolder.Purge(); | 528 | purgedFolder.Purge(); |
536 | } | 529 | } |