From 1cee31191c049011d0894763044cdcd7b85c00bf Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Tue, 26 Nov 2013 16:33:45 -0800 Subject: MAINT-3319 : Fix the purge of descendents of a category. Note: the cached number of descendents is not always reliable --- indra/newview/llinventorymodel.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'indra') diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 3c4c16a438..ed7fd3cd34 100755 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -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 cat = getCategory(id); if (cat.notNull()) { -- cgit v1.2.3