Migrates Channel.ResetAllChannelSchemes to sync by default (#11275)
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
41e5ec3c5e
Коммит
a760f32526
@@ -23,8 +23,8 @@ func (a *App) ResetPermissionsSystem() *model.AppError {
|
||||
}
|
||||
|
||||
// Reset all Channels to not have a scheme.
|
||||
if result := <-a.Srv.Store.Channel().ResetAllChannelSchemes(); result.Err != nil {
|
||||
return result.Err
|
||||
if err := a.Srv.Store.Channel().ResetAllChannelSchemes(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Reset all Custom Role assignments to Users.
|
||||
|
||||
Ссылка в новой задаче
Block a user