From bbb16ff97c1dbafa21358dbee8ca686d3c30478e Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Tue, 4 Aug 2020 20:36:56 +0300 Subject: SL-13704 Move link generation into getReleaseNotes() --- indra/newview/llappviewer.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'indra/newview/llappviewer.cpp') 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(); -- cgit v1.2.3