From b2c7fb9aeead8d1c549c0bb96a9a986686a1211d Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Thu, 23 Oct 2014 19:45:48 -0700 Subject: DD-224, DD-246 : Clean up code when receiving delete notification. Display DAMA alert when associating listing --- indra/newview/llviewermessage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview/llviewermessage.cpp') diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 931b16ccb7..31bd022b50 100755 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -5968,10 +5968,9 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem) // Special Marketplace update notification if (notificationID == "SLM_UPDATE_FOLDER") { - std::string state = llsdBlock["state"].asString(); - llinfos << "Merov : SLM_UPDATE_FOLDER, state = " << state << ", id = " << llsdBlock["listing_id"].asInteger() << llendl; // In general, no message will be displayed, all we want is to get the listing updated in the marketplace floater // If getListing() or deleteListing() fails though, the message of the alert will be shown by the caller of attempt_standard_notification() + std::string state = llsdBlock["state"].asString(); if (state == "deleted") { return LLMarketplaceData::instance().deleteListing(llsdBlock["listing_id"].asInteger()); -- cgit v1.2.3