mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Remove unused comment actions (#9222)
* Remove unused comment actions * improve code
This commit is contained in:
@@ -144,9 +144,6 @@ func (issue *Issue) toggleAssignee(sess *xorm.Session, doer *User, assigneeID in
|
||||
if err != nil {
|
||||
return false, nil, fmt.Errorf("createComment: %v", err)
|
||||
}
|
||||
if err = sendCreateCommentAction(sess, opts, comment); err != nil {
|
||||
return false, nil, err
|
||||
}
|
||||
|
||||
// if pull request is in the middle of creation - don't call webhook
|
||||
if isCreate {
|
||||
|
Reference in New Issue
Block a user