summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-26 01:15:39 +0800
committerzeripath <art27@cantab.net>2019-05-25 18:15:39 +0100
commit355ab0c62c1d58200d68e30d112db398ea00297a (patch)
tree15acaf368cbf16ffd2fc2102c13ca9536f5a0145 /cmd/web.go
parent0c432d26fe20d3e50da566cf75fa483376ed8bef (diff)
downloadgitea-355ab0c62c1d58200d68e30d112db398ea00297a.tar.gz
gitea-355ab0c62c1d58200d68e30d112db398ea00297a.zip
Fix wrong init dependency on markup extensions (#7038)
* fix wrong init dependency on markup extensions
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 6da6ec942e..e6d0300a15 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -15,7 +15,6 @@ import (
"strings"
"code.gitea.io/gitea/modules/log"
- "code.gitea.io/gitea/modules/markup/external"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/routers"
"code.gitea.io/gitea/routers/routes"
@@ -111,8 +110,6 @@ func runWeb(ctx *cli.Context) error {
routers.GlobalInit()
- external.RegisterParsers()
-
m := routes.NewMacaron()
routes.RegisterRoutes(m)