unnecessary parameters

This commit is contained in:
pangliang 2023-12-07 11:10:55 +08:00
parent 2829a8875b
commit f4a55d16f1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}