Remove query to update channel extra_update_at field on user activation/deactivation (#8415)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
302dae5bb9
Коммит
8ad99b4b1f
@@ -914,10 +914,6 @@ func (a *App) UpdateActive(user *model.User, active bool) (*model.User, *model.A
|
||||
}
|
||||
}
|
||||
|
||||
if extra := <-a.Srv.Store.Channel().ExtraUpdateByUser(user.Id, model.GetMillis()); extra.Err != nil {
|
||||
return nil, extra.Err
|
||||
}
|
||||
|
||||
ruser := result.Data.([2]*model.User)[0]
|
||||
options := a.Config().GetSanitizeOptions()
|
||||
options["passwordupdate"] = false
|
||||
|
||||
Ссылка в новой задаче
Block a user