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 {