summaryrefslogtreecommitdiffstats
path: root/update.go
diff options
context:
space:
mode:
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 1c14c33d78..faec0029ac 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()