Skip to content

Commit

Permalink
remove unused db init on commands serv, update, hooks (#5225)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and lafriks committed Oct 30, 2018
1 parent 5fc0a12 commit 0ba5794
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0ba5794

Please sign in to comment.