summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-16 23:08:46 -0400
committerUnknwon <u@gogs.io>2015-09-16 23:08:46 -0400
commite75fd2f783a413ae612e3e6110c912b3ecf9555d (patch)
tree969e7fc034c60db60695780b75815bbba17db7e8 /models/models.go
parenta517cfdf7b24514d7c1f6695dc175ce18c832465 (diff)
downloadgitea-e75fd2f783a413ae612e3e6110c912b3ecf9555d.tar.gz
gitea-e75fd2f783a413ae612e3e6110c912b3ecf9555d.zip
simplify names
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 5710930d0b..8149bb51b1 100644
--- a/models/models.go
+++ b/models/models.go
@@ -94,7 +94,7 @@ func init() {
}
}
-func LoadModelsConfig() {
+func LoadConfigs() {
sec := setting.Cfg.Section("database")
DbCfg.Type = sec.Key("DB_TYPE").String()
switch DbCfg.Type {