summaryrefslogtreecommitdiff
path: root/indra/newview/lldonotdisturbnotificationstorage.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-01-23 11:39:33 -0800
committerGilbert Gonzales <gilbert@lindenlab.com>2013-01-23 11:39:33 -0800
commit0911dafd81b8360235eb6f6b85fac7153a5d4a02 (patch)
tree44d487a071d6a55d14111336887d82a169e5e7c5 /indra/newview/lldonotdisturbnotificationstorage.cpp
parent5733f7090460ea2591bf1af961409c1a77cc916e (diff)
CHUI-687: post code review changes. Now upon deletion of an item, DND mode must be enabled in order to remove a notification from the DND history.
Diffstat (limited to 'indra/newview/lldonotdisturbnotificationstorage.cpp')
-rw-r--r--indra/newview/lldonotdisturbnotificationstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldonotdisturbnotificationstorage.cpp b/indra/newview/lldonotdisturbnotificationstorage.cpp
index abceb5c10d..15c42e8285 100644
--- a/indra/newview/lldonotdisturbnotificationstorage.cpp
+++ b/indra/newview/lldonotdisturbnotificationstorage.cpp
@@ -260,7 +260,7 @@ void LLDoNotDisturbNotificationStorage::removeNotification(const char * name, co
notificationObjectID = payload[payloadVariable].asUUID();
notificationName = notification->getName();
- if(notificationName == name
+ if((notificationName == name)
&& id == notificationObjectID)
{
itemsToRemove.push_back(it);