summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-10-23 19:45:48 -0700
committerMerov Linden <merov@lindenlab.com>2014-10-23 19:45:48 -0700
commitb2c7fb9aeead8d1c549c0bb96a9a986686a1211d (patch)
treef172ff41ccf437fbc988a4f900ee8cc9710cfd18 /indra/newview/llviewermessage.cpp
parentf99dbd9be0f631ee9135ac89d8322c359711d626 (diff)
DD-224, DD-246 : Clean up code when receiving delete notification. Display DAMA alert when associating listing
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rwxr-xr-xindra/newview/llviewermessage.cpp3
1 files changed, 1 insertions, 2 deletions
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());