1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Support private repo

This commit is contained in:
Unknown
2014-04-11 21:47:39 -04:00
parent d6dac160df
commit 33aa4f7438
13 changed files with 87 additions and 31 deletions

View File

@@ -295,6 +295,9 @@ func DeleteUser(user *User) error {
}
// Delete oauth2.
if _, err = orm.Delete(&Oauth2{Uid: user.Id}); err != nil {
return err
}
// Delete all feeds.
if _, err = orm.Delete(&Action{UserId: user.Id}); err != nil {