diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-12 21:30:09 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-12 21:30:09 -0400 |
commit | 9ffa8a40836a5e3341267affbaef08acf4765a74 (patch) | |
tree | afc0c9b13c02c22b577bcfc498b0ced973aa1495 /routers/install.go | |
parent | 90f6aa8cd19e489723ddffc40d6507782c29756c (diff) | |
download | gitea-9ffa8a40836a5e3341267affbaef08acf4765a74.tar.gz gitea-9ffa8a40836a5e3341267affbaef08acf4765a74.zip |
finish mirror fix #63
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go index 76c03f0529..d66f5b39b6 100644 --- a/routers/install.go +++ b/routers/install.go @@ -18,6 +18,7 @@ import ( "github.com/gogits/gogs/models" "github.com/gogits/gogs/modules/auth" "github.com/gogits/gogs/modules/base" + "github.com/gogits/gogs/modules/cron" "github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/mailer" "github.com/gogits/gogs/modules/middleware" @@ -49,6 +50,7 @@ func GlobalInit() { } models.HasEngine = true + cron.NewCronContext() } base.NewServices() checkRunMode() |