mirror of https://github.com/go-gitea/gitea.git
5feb1a6bff
The behaviors of closing issues and reopening issues are very different. So splitting it into two different functions makes it easier to maintain. - [x] Split ChangeIssueStatus into CloseIssue and ReopenIssue both at the service layer and model layer - [x] Rename `isClosed` to `CloseOrReopen` to make it more readable. - [x] Add transactions for ReopenIssue and CloseIssue --------- Co-authored-by: Zettat123 <zettat123@gmail.com> |
||
---|---|---|
.. | ||
assignee.go | ||
assignee_test.go | ||
comments.go | ||
commit.go | ||
commit_test.go | ||
content.go | ||
issue.go | ||
issue_test.go | ||
label.go | ||
label_test.go | ||
main_test.go | ||
milestone.go | ||
milestone_test.go | ||
pull.go | ||
reaction.go | ||
reaction_test.go | ||
status.go | ||
template.go |