diff options
Diffstat (limited to 'routers/init.go')
-rw-r--r-- | routers/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/init.go b/routers/init.go index f311b4f95d..6369a39754 100644 --- a/routers/init.go +++ b/routers/init.go @@ -18,7 +18,6 @@ import ( "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/markup" "code.gitea.io/gitea/modules/markup/external" - "code.gitea.io/gitea/modules/notification" "code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/ssh" "code.gitea.io/gitea/modules/storage" @@ -38,6 +37,7 @@ import ( "code.gitea.io/gitea/services/auth/source/oauth2" "code.gitea.io/gitea/services/automerge" "code.gitea.io/gitea/services/cron" + feed_service "code.gitea.io/gitea/services/feed" indexer_service "code.gitea.io/gitea/services/indexer" "code.gitea.io/gitea/services/mailer" mailer_incoming "code.gitea.io/gitea/services/mailer/incoming" @@ -119,7 +119,7 @@ func InitWebInstalled(ctx context.Context) { mailer.NewContext(ctx) mustInit(cache.NewContext) - notification.NewContext() + mustInit(feed_service.Init) mustInit(uinotification.Init) mustInit(archiver.Init) |