summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-12 21:30:09 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-12 21:30:09 -0400
commit9ffa8a40836a5e3341267affbaef08acf4765a74 (patch)
treeafc0c9b13c02c22b577bcfc498b0ced973aa1495 /routers/install.go
parent90f6aa8cd19e489723ddffc40d6507782c29756c (diff)
downloadgitea-9ffa8a40836a5e3341267affbaef08acf4765a74.tar.gz
gitea-9ffa8a40836a5e3341267affbaef08acf4765a74.zip
finish mirror fix #63
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go2
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()