From cd0b8b6852563118ab8530c01a48bc612efcf58a Mon Sep 17 00:00:00 2001
From: Gusted <postmaster@gusted.xyz>
Date: Sun, 18 Dec 2022 19:56:08 +0100
Subject: [PATCH] [PRIVACY] Disable `update_checker` cron tasks

- This is being disabled as it will weekly connect to a domain.
- This only affects existing installations, as new installations will
have a explicit value being written into app.ini due to https://github.com/go-gitea/gitea/pull/21655
---
 services/cron/tasks_extended.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/cron/tasks_extended.go b/services/cron/tasks_extended.go
index 3e0dbd132e..af419144a9 100644
--- a/services/cron/tasks_extended.go
+++ b/services/cron/tasks_extended.go
@@ -146,7 +146,7 @@ func registerUpdateGiteaChecker() {
 	}
 	RegisterTaskFatal("update_checker", &UpdateCheckerConfig{
 		BaseConfig: BaseConfig{
-			Enabled:    true,
+			Enabled:    false,
 			RunAtStart: false,
 			Schedule:   "@every 168h",
 		},