[MM-16315] Migrate Channel.PermanentDelete to Sync by default (#11485)
* [MM-16315] Migrate Channel.PermanentDelete to Sync by default * fix migration at app/channel.go
Этот коммит содержится в:
коммит произвёл
jfrerich
родитель
ff5b221598
Коммит
eb4c97c3e8
@@ -1913,8 +1913,8 @@ func (a *App) PermanentDeleteChannel(channel *model.Channel) *model.AppError {
|
||||
return err
|
||||
}
|
||||
|
||||
if result := <-a.Srv.Store.Channel().PermanentDelete(channel.Id); result.Err != nil {
|
||||
return result.Err
|
||||
if err := a.Srv.Store.Channel().PermanentDelete(channel.Id); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if a.IsESIndexingEnabled() {
|
||||
|
||||
Ссылка в новой задаче
Block a user