summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/user.go b/models/user.go
index 31af3747c0..61c2ac47a1 100644
--- a/models/user.go
+++ b/models/user.go
@@ -980,6 +980,7 @@ func deleteUser(e *xorm.Session, u *User) error {
&IssueUser{UID: u.ID},
&EmailAddress{UID: u.ID},
&UserOpenID{UID: u.ID},
+ &Reaction{UserID: u.ID},
); err != nil {
return fmt.Errorf("deleteBeans: %v", err)
}