diff options
Diffstat (limited to 'routers/init.go')
-rw-r--r-- | routers/init.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/init.go b/routers/init.go index 5c8741f244..1efddcfaa6 100644 --- a/routers/init.go +++ b/routers/init.go @@ -21,6 +21,7 @@ import ( "code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/ssh" "code.gitea.io/gitea/services/mailer" + mirror_service "code.gitea.io/gitea/services/mirror" "gitea.com/macaron/macaron" ) @@ -98,7 +99,7 @@ func GlobalInit() { log.Fatal("Failed to initialize issue indexer: %v", err) } models.InitRepoIndexer() - models.InitSyncMirrors() + mirror_service.InitSyncMirrors() models.InitDeliverHooks() models.InitTestPullRequests() } |