mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 20:14:58 +02:00
Move some functions into services/repository (#17677)
This commit is contained in:
1 parent
750a8465f5
commit
5233051e64
15 files changed
+283
-285
No files matched your search
@@ -85,7 +85,7 @@ func registerRepositoryUpdateHook() {
|
||||
RunAtStart: false,
|
||||
Schedule: "@every 72h",
|
||||
}, func(ctx context.Context, _ *models.User, _ Config) error {
|
||||
return repo_module.SyncRepositoryHooks(ctx)
|
||||
return repo_service.SyncRepositoryHooks(ctx)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user