mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-06 01:37:25 +08:00
UPDATE README
This commit is contained in:
@ -32,7 +32,7 @@ var (
|
||||
|
||||
func init() {
|
||||
tables = append(tables, new(User), new(PublicKey), new(Repository), new(Watch),
|
||||
new(Action), new(Access), new(Issue), new(Comment), new(Oauth2))
|
||||
new(Action), new(Access), new(Issue), new(Comment), new(Oauth2), new(Follow))
|
||||
}
|
||||
|
||||
func LoadModelsConfig() {
|
||||
|
@ -294,6 +294,8 @@ func DeleteUser(user *User) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Delete oauth2.
|
||||
|
||||
// Delete all feeds.
|
||||
if _, err = orm.Delete(&Action{UserId: user.Id}); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user