summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-08-04 20:36:56 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-08-05 20:07:19 +0300
commitbbb16ff97c1dbafa21358dbee8ca686d3c30478e (patch)
treefc42f1972189c9d36e6f411d3b8bdee61dc623ac /indra/newview/llappviewer.cpp
parent07c7506b1b503e734ce16c8a7dca0408b018ebd6 (diff)
SL-13704 Move link generation into getReleaseNotes()
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index cf9ad7ccbf..379e29a06b 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3101,15 +3101,7 @@ LLSD LLAppViewer::getViewerInfo() const
// return a URL to the release notes for this viewer, such as:
// https://releasenotes.secondlife.com/viewer/2.1.0.123456.html
- std::string url = versionInfo.getReleaseNotes(); // VVM supplied
- if (url.empty())
- {
- url = LLTrans::getString("RELEASE_NOTES_BASE_URL");
- if (!LLStringUtil::endsWith(url, "/"))
- url += "/";
- url += LLURI::escape(versionInfo.getVersion()) + ".html";
- }
- info["VIEWER_RELEASE_NOTES_URL"] = url;
+ info["VIEWER_RELEASE_NOTES_URL"] = versionInfo.getReleaseNotes();;
// Position
LLViewerRegion* region = gAgent.getRegion();