From 5bcd1545a8044aff7f35179e7a324ec9b4ad1c2e Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Mon, 21 Oct 2019 18:21:05 +0300 Subject: [PATCH] - /control/version.json: don't show error message if auto-update is disabled --- home/control_update.go | 1 - 1 file changed, 1 deletion(-) diff --git a/home/control_update.go b/home/control_update.go index 92c82f1e..b1847754 100644 --- a/home/control_update.go +++ b/home/control_update.go @@ -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 }