summaryrefslogtreecommitdiff
path: root/indra/newview/llscriptfloater.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-01-12 21:08:27 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-01-12 21:08:27 +0200
commit6df80ebcc4b547d3728ed5fca6fa4efa899f30ea (patch)
tree75e6be3cb9ca1a93602dddfe111fed4a600face7 /indra/newview/llscriptfloater.cpp
parent1e0753ddb21bf5bda734a2a26ddd97588224093e (diff)
MAINT-6018 Open URL dialog spam
Removed "close by owner" item form chiclet's right-click menu
Diffstat (limited to 'indra/newview/llscriptfloater.cpp')
-rwxr-xr-xindra/newview/llscriptfloater.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp
index b5b5bc855d..1d021ec28f 100755
--- a/indra/newview/llscriptfloater.cpp
+++ b/indra/newview/llscriptfloater.cpp
@@ -420,18 +420,6 @@ void LLScriptFloaterManager::onAddNotification(const LLUUID& notification_id)
toggleScriptFloater(notification_id, set_new_message);
}
-void LLScriptFloaterManager::removeAllNotificationsByOwner(const LLUUID& notification_id)
-{
- LLNotificationPtr notification = LLNotifications::instance().find(notification_id);
- if (notification != NULL && !notification->isCancelled())
- {
- LLSD payload = notification->getPayload();
- LLUUID owner = payload.get("owner_id").asUUID();
-
- LLNotifications::instance().cancelByOwner(owner);
- }
-}
-
void LLScriptFloaterManager::removeNotification(const LLUUID& notification_id)
{
LLNotificationPtr notification = LLNotifications::instance().find(notification_id);