diff options
| -rw-r--r-- | indra/newview/llviewerinventory.cpp | 11 | 
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index 2b200c17c1..bbed741a33 100644 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -1422,11 +1422,6 @@ void remove_inventory_category(  			LLNotificationsUtil::add("CannotRemoveProtectedCategories");  			return;  		} -		const LLUUID fav_id = gInventory.findUserDefinedCategoryUUIDForType(LLFolderType::FT_FAVORITE); -		if ((cat_id == fav_id) || gInventory.isObjectDescendentOf(fav_id, cat_id)) -		{ -			gSavedPerAccountSettings.setString("FavoritesFolder", ""); -		}          AISAPI::completion_t cr = boost::bind(&doInventoryCb, cb, _1);          AISAPI::RemoveCategory(cat_id, cr);  	} @@ -1466,12 +1461,6 @@ void purge_descendents_of(const LLUUID& id, LLPointer<LLInventoryCallback> cb)  	LLPointer<LLViewerInventoryCategory> cat = gInventory.getCategory(id);  	if (cat.notNull())  	{ -		const LLUUID fav_id = gInventory.findUserDefinedCategoryUUIDForType(LLFolderType::FT_FAVORITE); -		if ((id == fav_id) || gInventory.isObjectDescendentOf(fav_id, id)) -		{ -			gSavedPerAccountSettings.setString("FavoritesFolder", ""); -		} -  		if (LLClipboard::instance().hasContents())  		{  			// Remove items from clipboard or it will remain active even if there is nothing to paste/copy  | 
