MAINT-7489 FIXED Viewer may silently empty trash without the users request under obscure inventory folder states
parent
3502a56608
commit
24c734b9a3
|
|
@ -486,12 +486,8 @@ void LLInventoryModel::consolidateForType(const LLUUID& main_id, LLFolderType::E
|
|||
}
|
||||
|
||||
// Purge the emptied folder
|
||||
// Note: we'd like to use purgeObject() but it doesn't cleanly eliminate the folder
|
||||
// which leads to issues further down the road when the folder is found again
|
||||
//purgeObject(folder_id);
|
||||
// We remove the folder and empty the trash instead which seems to work
|
||||
removeCategory(folder_id);
|
||||
gInventory.emptyFolderType("", LLFolderType::FT_TRASH);
|
||||
removeCategory(folder_id);
|
||||
remove_inventory_category(folder_id, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue