1
0
Fork 0
forked from forgejo/forgejo
This commit is contained in:
Unknown 2014-05-07 17:23:02 -04:00
parent 8b6766ecbe
commit e05b1385fb
4 changed files with 9 additions and 9 deletions

View file

@ -304,7 +304,7 @@ func DeleteUser(user *User) error {
}
// Delete all watches.
if _, err = orm.Delete(&Watch{Uid: user.Id}); err != nil {
if _, err = orm.Delete(&Watch{UserId: user.Id}); err != nil {
return err
}