Merge: - /control/version.json: don't show error message if auto-update is disabled

Close #1083

* commit '5bcd1545a8044aff7f35179e7a324ec9b4ad1c2e':
  - /control/version.json: don't show error message if auto-update is disabled
This commit is contained in:
Simon Zolin 2019-10-23 14:21:02 +03:00
commit e8bb0fdcb7
1 changed files with 0 additions and 1 deletions

View File

@ -59,7 +59,6 @@ type getVersionJSONRequest struct {
func handleGetVersionJSON(w http.ResponseWriter, r *http.Request) {
if config.disableUpdate {
httpError(w, http.StatusInternalServerError, "New app version check is disabled by user")
return
}