summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersearch.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-22 23:38:20 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-09-27 13:11:12 +0300
commitd0d05ddddfe6736b50e589a20d4d6ea457ad9b32 (patch)
tree7b754c74d752a7da78b45dee6bf7a2f447ad9916 /indra/newview/llfloatersearch.cpp
parent7e2ff9d1e709f97e56f8fba17dd1a750da2f4a89 (diff)
SL-15039 Prune unused preferences #4
Diffstat (limited to 'indra/newview/llfloatersearch.cpp')
-rw-r--r--indra/newview/llfloatersearch.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llfloatersearch.cpp b/indra/newview/llfloatersearch.cpp
index 37ae80fa8f..a6ab61cbb9 100644
--- a/indra/newview/llfloatersearch.cpp
+++ b/indra/newview/llfloatersearch.cpp
@@ -48,12 +48,6 @@ public:
LLSearchHandler() : LLCommandHandler("search", UNTRUSTED_CLICK_ONLY) { }
bool handle(const LLSD& tokens, const LLSD& query_map, const std::string& grid, LLMediaCtrl* web)
{
- if (!LLUI::getInstance()->mSettingGroups["config"]->getBOOL("EnableSearch"))
- {
- LLNotificationsUtil::add("NoSearch", LLSD(), LLSD(), std::string("SwitchToStandardSkinAndQuit"));
- return true;
- }
-
const size_t parts = tokens.size();
// get the (optional) category for the search