mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 20:34:13 +01:00
remove unused db init on commands serv, update, hooks (#5225)
This commit is contained in:
parent
5fc0a12627
commit
0ba57949e4
1 changed files with 0 additions and 1 deletions
|
@ -66,7 +66,6 @@ var (
|
||||||
func hookSetup(logPath string) {
|
func hookSetup(logPath string) {
|
||||||
setting.NewContext()
|
setting.NewContext()
|
||||||
log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath))
|
log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath))
|
||||||
models.LoadConfigs()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func runHookPreReceive(c *cli.Context) error {
|
func runHookPreReceive(c *cli.Context) error {
|
||||||
|
|
Loading…
Reference in a new issue