mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Move some functions into services/repository (#17677)
This commit is contained in:
		@@ -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