Skip to content

Commit 0ba5794

Browse files
lunnylafriks
authored andcommitted
remove unused db init on commands serv, update, hooks (#5225)
1 parent 5fc0a12 commit 0ba5794

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/hook.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ var (
6666
func hookSetup(logPath string) {
6767
setting.NewContext()
6868
log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath))
69-
models.LoadConfigs()
7069
}
7170

7271
func runHookPreReceive(c *cli.Context) error {

0 commit comments

Comments
 (0)