mirror of https://github.com/go-gitea/gitea
unnecessary parameters
This commit is contained in:
parent
2829a8875b
commit
f4a55d16f1
|
@ -700,7 +700,7 @@ func Run(ctx *context_module.Context) {
|
|||
cfgUnit := ctx.Repo.Repository.MustGetUnit(ctx, unit.TypeActions)
|
||||
cfg := cfgUnit.ActionsConfig()
|
||||
if cfg.IsWorkflowDisabled(workflow) {
|
||||
ctx.Flash.Error(ctx.Tr("actions.workflow.disabled", workflow))
|
||||
ctx.Flash.Error(ctx.Tr("actions.workflow.disabled"))
|
||||
ctx.Redirect(redirectURL)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue