summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-04-09 14:19:38 -0700
committerMerov Linden <merov@lindenlab.com>2014-04-09 14:19:38 -0700
commit748bbeaf982c456b120d4b3f4d33aa6dce576908 (patch)
tree3946515a9056b7e7809192c1fdcf50cbf39cba80 /indra/newview/llmarketplacefunctions.cpp
parent9b52f19a68eb9ff3e88c9d45c2d799be6eccf44e (diff)
DD-13 : Clean up Associate/Disassociate listing. Also clarify the update folder code in marketplace
Diffstat (limited to 'indra/newview/llmarketplacefunctions.cpp')
-rwxr-xr-xindra/newview/llmarketplacefunctions.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/indra/newview/llmarketplacefunctions.cpp b/indra/newview/llmarketplacefunctions.cpp
index 29ce5361f0..b7c84dc714 100755
--- a/indra/newview/llmarketplacefunctions.cpp
+++ b/indra/newview/llmarketplacefunctions.cpp
@@ -687,7 +687,6 @@ bool LLMarketplaceData::setActivation(const LLUUID& folder_id, bool activate)
marketplace_items_list_t::iterator it = mMarketplaceItems.find(folder_id);
(it->second).mIsActive = activate;
update_marketplace_category((it->second).mListingFolderId);
- update_marketplace_category((it->second).mVersionFolderId);
return true;
}
// We need to iterate through the list to check it's not a version folder
@@ -698,7 +697,6 @@ bool LLMarketplaceData::setActivation(const LLUUID& folder_id, bool activate)
{
(it->second).mIsActive = activate;
update_marketplace_category((it->second).mListingFolderId);
- update_marketplace_category((it->second).mVersionFolderId);
return true;
}
it++;
@@ -706,20 +704,4 @@ bool LLMarketplaceData::setActivation(const LLUUID& folder_id, bool activate)
return false;
}
-// Test methods
-void LLMarketplaceData::addTestItem(const LLUUID& folder_id)
-{
- llinfos << "Merov : addTestItem, id = " << folder_id << llendl;
- mMarketplaceItems[folder_id] = LLMarketplaceTuple(folder_id);
- update_marketplace_category(folder_id);
-}
-void LLMarketplaceData::addTestItem(const LLUUID& folder_id, const LLUUID& version_id)
-{
- llinfos << "Merov : addTestItem, id = " << folder_id << ", version = " << version_id << llendl;
- mMarketplaceItems[folder_id] = LLMarketplaceTuple(folder_id);
- setVersionFolderID(folder_id, version_id);
- update_marketplace_category(folder_id);
- update_marketplace_category(version_id);
-}
-