mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
cleanup(services/mailer): mark deadcode for removal
There is no activities_model.Action* when sending a review comment, this is deadcode and should be removed. Or a new event should be added to differentiate it from a regular comment when evaluating templates.
This commit is contained in:
parent
55c850a8a8
commit
fc45a0d9ba
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ func actionToTemplate(issue *issues_model.Issue, actionType activities_model.Act
|
|||
case issues_model.ReviewTypeReject:
|
||||
name = "reject"
|
||||
default:
|
||||
name = "review"
|
||||
name = "review" // TODO: there is no activities_model.Action* when sending a review comment, this is deadcode and should be removed
|
||||
}
|
||||
case issues_model.CommentTypeCode:
|
||||
name = "code"
|
||||
|
|
Loading…
Reference in a new issue