summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-04-18 15:47:59 -0700
committerMerov Linden <merov@lindenlab.com>2014-04-18 15:47:59 -0700
commit007a058c5fee29b70bc4ac1a4b9ff40deabdbd82 (patch)
treef1b97618523796b6ea736c22ba6458fb399b458b /indra
parenta99e2475443bebb6b9c9d2c8998300ce50f254a8 (diff)
DD-68 : Simply unlist if active version folder moved out of listing
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llinventoryfunctions.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index f4b66d82a4..c9d9781848 100755
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -176,13 +176,14 @@ void update_marketplace_category(const LLUUID& cat_id)
if (version_folder_uuid.notNull() && !gInventory.isObjectDescendentOf(version_folder_uuid, listing_uuid))
{
// *TODO : Confirm with Producer that this is what we want to happen in that case!
- llinfos << "Merov : Delisting as the version folder is not under the listing folder anymore!!" << llendl;
- LLMarketplaceData::instance().deleteListing(listing_uuid);
+ llinfos << "Merov : Unlist as the version folder is not under the listing folder anymore!!" << llendl;
+ LLMarketplaceData::instance().setVersionFolderID(listing_uuid, LLUUID::null);
+ LLMarketplaceData::instance().setActivation(listing_uuid, false);
}
if (!gInventory.isObjectDescendentOf(listing_uuid, marketplace_listings_uuid))
{
// *TODO : Confirm with Producer that this is what we want to happen in that case!
- llinfos << "Merov : Delisting as the listing folder is not under the marketplace folder anymore!!" << llendl;
+ llinfos << "Merov : Disassociate as the listing folder is not under the marketplace folder anymore!!" << llendl;
LLMarketplaceData::instance().deleteListing(listing_uuid);
}
}