remove unused db init on commands serv, update, hooks (#5225)

tokarchuk/v1.17
Lunny Xiao 6 years ago committed by Lauris BH
parent 5fc0a12627
commit 0ba57949e4
  1. 1
      cmd/hook.go

@ -66,7 +66,6 @@ var (
func hookSetup(logPath string) {
setting.NewContext()
log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath))
models.LoadConfigs()
}
func runHookPreReceive(c *cli.Context) error {

Loading…
Cancel
Save