From 0ba57949e41935ed68b7278b493bf7bd1a272331 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 30 Oct 2018 18:41:25 +0800 Subject: remove unused db init on commands serv, update, hooks (#5225) --- cmd/hook.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/hook.go b/cmd/hook.go index 27500f9c66..fb54ca186a 100644 --- a/cmd/hook.go +++ b/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 { -- cgit v1.2.3