mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +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
|
@ -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