From de8902077b1b0eb427429d125cf9b73972c1c8c1 Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Mon, 22 Apr 2024 21:46:18 +0800 Subject: [PATCH] fix cherry-pick --- modules/doctor/dbconsistency.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/doctor/dbconsistency.go b/modules/doctor/dbconsistency.go index 93affbf1ff..89c90367d2 100644 --- a/modules/doctor/dbconsistency.go +++ b/modules/doctor/dbconsistency.go @@ -164,12 +164,6 @@ func checkDBConsistency(ctx context.Context, logger log.Logger, autofix bool) er Fixer: actions_model.FixRunnersWithoutBelongingRepo, FixedMessage: "Removed", }, - { - Name: "Topics with empty repository count", - Counter: repo_model.CountOrphanedTopics, - Fixer: repo_model.DeleteOrphanedTopics, - FixedMessage: "Removed", - }, } // TODO: function to recalc all counters