diff options
author | Unknwon <u@gogs.io> | 2015-09-16 23:08:46 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-16 23:08:46 -0400 |
commit | e75fd2f783a413ae612e3e6110c912b3ecf9555d (patch) | |
tree | 969e7fc034c60db60695780b75815bbba17db7e8 /cmd/dump.go | |
parent | a517cfdf7b24514d7c1f6695dc175ce18c832465 (diff) | |
download | gitea-e75fd2f783a413ae612e3e6110c912b3ecf9555d.tar.gz gitea-e75fd2f783a413ae612e3e6110c912b3ecf9555d.zip |
simplify names
Diffstat (limited to 'cmd/dump.go')
-rw-r--r-- | cmd/dump.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dump.go b/cmd/dump.go index 36bb4f0305..44b180c32b 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -34,8 +34,8 @@ func runDump(ctx *cli.Context) { if ctx.IsSet("config") { setting.CustomConf = ctx.String("config") } - setting.NewConfigContext() - models.LoadModelsConfig() + setting.NewContext() + models.LoadConfigs() models.SetEngine() log.Printf("Dumping local repositories...%s", setting.RepoRootPath) |