Compare commits

..

No commits in common. "47df437cddfc0db6cef4b661b8bb4e00822c947d" and "366e9f2821b04ed7bb911174fb4e6b2986e29be2" have entirely different histories.

1 changed files with 0 additions and 8 deletions

View File

@ -116,10 +116,6 @@ func AddUserSync(req proto.UserAddOrUpdate) uint {
if res.Error != nil {
return 0
}
res = DB.Exec("update users set created_at=null where id=?", req.ID)
if res.Error != nil {
return 0
}
return req.ID
}
@ -129,10 +125,6 @@ func UpdateUserSync(req proto.UserAddOrUpdate) uint {
if res.Error != nil {
return 0
}
res = DB.Exec("update users set created_at=null where id=?", req.ID)
if res.Error != nil {
return 0
}
return req.ID
}