mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649)
* delete pullautomerges on repo/user deletion * delete reviewstates on repo/user deletion * optimize automerhe code * add index to reviewstate
This commit is contained in:
@@ -825,7 +825,7 @@ func getNotificationByID(e db.Engine, notificationID int64) (*Notification, erro
|
||||
}
|
||||
|
||||
if !ok {
|
||||
return nil, ErrNotExist{ID: notificationID}
|
||||
return nil, db.ErrNotExist{ID: notificationID}
|
||||
}
|
||||
|
||||
return notification, nil
|
||||
|
Reference in New Issue
Block a user