diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-06 04:50:33 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:22 +0200 |
commit | f66232738c8afb2331a29df3934c0eecc296d995 (patch) | |
tree | d90eb64c51e9b1d72923e2957ec52f2d6de945fb | |
parent | 7ef3aedb9b31716fbcae4daa2cd45bc3ba616837 (diff) |
reenable the download of the update files
Change-Id: I123298d323253a83719033756ca7e0a83a2d157f
-rw-r--r-- | desktop/source/app/updater.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index 202b5155f054..94328c4fd37f 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -488,24 +488,9 @@ void update_checker() OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/1/" + aProductName + "/" + aVersion + "/" + aBuildID + "/" + aBuildTarget + "/" + aLocale + "/" + aChannel; - SAL_DEBUG(aDownloadCheckURL); OString aURL = OUStringToOString(aDownloadCheckURL, RTL_TEXTENCODING_UTF8); -#if 1 std::string response_body = download_content(aURL, false); - SAL_DEBUG(response_body); - exit(1); -#else - std::string response_body; - if(std::ifstream is{"/lo/users/moggi/update.json", std::ios::binary | std::ios::ate}) - { - auto size = is.tellg(); - std::string str(size, '\0'); // construct string to stream size - is.seekg(0); - is.read(&str[0], size); - response_body = str; - } -#endif try { |