From 24a05a2ebec000d4522b8ea6eddd7edf6579e134 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Thu, 8 Feb 2018 01:31:00 -0600 Subject: [PATCH] Add header and remove new unnecessary 'ignore' button handling due to 'ignore' checkbox now working for notify toasts. --- indra/newview/shupdatechecker.cpp | 8 -------- indra/newview/shupdatechecker.h | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 indra/newview/shupdatechecker.h diff --git a/indra/newview/shupdatechecker.cpp b/indra/newview/shupdatechecker.cpp index 997ac6b44..65c7f5db3 100644 --- a/indra/newview/shupdatechecker.cpp +++ b/indra/newview/shupdatechecker.cpp @@ -43,14 +43,6 @@ public: } if (option == 1) // Later {} - else if (option == 2) // Ignore - { - LLNotificationPtr notifyptr = LLNotificationsUtil::find(notification["id"]); - if (notifyptr) - { - notifyptr->setIgnored(true); - } - } } /*virtual*/ void completedRaw(LLChannelDescriptors const& channels, buffer_ptr_t const& buffer) { diff --git a/indra/newview/shupdatechecker.h b/indra/newview/shupdatechecker.h new file mode 100644 index 000000000..20dc00aa1 --- /dev/null +++ b/indra/newview/shupdatechecker.h @@ -0,0 +1,6 @@ +#ifndef SH_SHUPDATECHECKER_H +#define SH_SHUPDATECHECKER_H + +void check_for_updates(); + +#endif //SH_SHUPDATECHECKER_H