aboutsummaryrefslogtreecommitdiffstats
path: root/services/indexer/indexer.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-09-06 02:37:47 +0800
committerGitHub <noreply@github.com>2023-09-05 18:37:47 +0000
commit540bf9fa6d0d86297c9d575640798b718767bd9f (patch)
tree4b4a782b71e6f066af6c7807337745dc5ee6899a /services/indexer/indexer.go
parent084eacb5d42f1ed2520442a4bbc91bb70c9759e1 (diff)
downloadgitea-540bf9fa6d0d86297c9d575640798b718767bd9f.tar.gz
gitea-540bf9fa6d0d86297c9d575640798b718767bd9f.zip
Move notification interface to services layer (#26915)
Extract from #22266
Diffstat (limited to 'services/indexer/indexer.go')
-rw-r--r--services/indexer/indexer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/indexer/indexer.go b/services/indexer/indexer.go
index d5f31d99ea..38dd012a51 100644
--- a/services/indexer/indexer.go
+++ b/services/indexer/indexer.go
@@ -7,12 +7,12 @@ import (
code_indexer "code.gitea.io/gitea/modules/indexer/code"
issue_indexer "code.gitea.io/gitea/modules/indexer/issues"
stats_indexer "code.gitea.io/gitea/modules/indexer/stats"
- "code.gitea.io/gitea/modules/notification"
+ notify_service "code.gitea.io/gitea/services/notify"
)
// Init initialize the repo indexer
func Init() error {
- notification.RegisterNotifier(NewNotifier())
+ notify_service.RegisterNotifier(NewNotifier())
issue_indexer.InitIssueIndexer(false)
code_indexer.Init()