Fix wrong init dependency on markup extensions (#7038)
* fix wrong init dependency on markup extensions
This commit is contained in:
parent
0c432d26fe
commit
355ab0c62c
4 changed files with 12 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue