1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00
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
}