Browse Source

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

tags/v1.7.0-dev
Lunny Xiao 5 years ago
parent
commit
0ba57949e4
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      cmd/hook.go

+ 0
- 1
cmd/hook.go View File

@@ -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