0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

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

This commit is contained in:
Lunny Xiao 2018-10-30 18:41:25 +08:00 committed by Lauris BH
parent 5fc0a12627
commit 0ba57949e4

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 {