diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-07-01 17:04:51 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-07-01 17:04:51 +0300 |
commit | 2c557ffcfb9e225f0b168c1ce515134a908204c7 (patch) | |
tree | 1f0a1e0d9cf669a09c7efd552020a54e1db0b282 /indra/newview/llweb.cpp | |
parent | dda73035f3a7cab0b3126b62707f23c841cc61a9 (diff) |
SL-15507 Remove no longer used search token and no longer used search URL
Diffstat (limited to 'indra/newview/llweb.cpp')
-rw-r--r-- | indra/newview/llweb.cpp | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/indra/newview/llweb.cpp b/indra/newview/llweb.cpp index 63257d6543..770f3b6df5 100644 --- a/indra/newview/llweb.cpp +++ b/indra/newview/llweb.cpp @@ -200,19 +200,16 @@ std::string LLWeb::expandURLSubstitutions(const std::string &url, // find the grid std::string current_grid = LLGridManager::getInstance()->getGridId(); std::transform(current_grid.begin(), current_grid.end(), current_grid.begin(), ::tolower); - if (current_grid == "agni") + if (current_grid == "damballah") { - substitution["GRID"] = "secondlife.com"; - } - else if (current_grid == "damballah") - { - // Staging grid has its own naming scheme. - substitution["GRID"] = "secondlife-staging.com"; - } - else - { - substitution["GRID"] = llformat("%s.lindenlab.com", current_grid.c_str()); - } + // Staging grid has its own naming scheme. + substitution["GRID"] = "secondlife-staging.com"; + } + else + { + substitution["GRID"] = "secondlife.com"; + } + // expand all of the substitution strings and escape the url std::string expanded_url = url; LLStringUtil::format(expanded_url, substitution); |