summaryrefslogtreecommitdiffstats
path: root/update.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-28 07:26:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-28 07:26:22 -0400
commit0fd754bbe0dab966ad3070dc24f9583c67c84513 (patch)
treee9386c5a5f89e3db23b8273a7ca2b14804eef524 /update.go
parent5344a0300383c4921e4a5810dff58c7686412f0c (diff)
downloadgitea-0fd754bbe0dab966ad3070dc24f9583c67c84513.tar.gz
gitea-0fd754bbe0dab966ad3070dc24f9583c67c84513.zip
Working on install page
Diffstat (limited to 'update.go')
-rw-r--r--update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.go b/update.go
index 39729937e1..23abd7b2e7 100644
--- a/update.go
+++ b/update.go
@@ -32,7 +32,7 @@ gogs serv provide access auth for repositories`,
func runUpdate(c *cli.Context) {
base.NewConfigContext()
models.LoadModelsConfig()
- models.NewEngine()
+ models.SetEngine()
w, _ := os.Create("update.log")
defer w.Close()