MAINT-3319 : Fix the purge of descendents of a category. Note: the cached number of descendents is not always reliable

meow-7.2.2
Merov Linden 2013-11-26 16:33:45 -08:00
parent f0cbf849ac
commit 1cee31191c
1 changed files with 0 additions and 6 deletions

View File

@ -1268,12 +1268,6 @@ void LLInventoryModel::updateLinkedObjectsFromPurge(const LLUUID &baseobj_id)
// folders, items, etc in a fairly efficient manner.
void LLInventoryModel::purgeDescendentsOf(const LLUUID& id)
{
EHasChildren children = categoryHasChildren(id);
if(children == CHILDREN_NO)
{
llinfos << "Not purging descendents of " << id << llendl;
return;
}
LLPointer<LLViewerInventoryCategory> cat = getCategory(id);
if (cat.notNull())
{