Migrate PermanentDelete method from ChannelStore to return error inte… (#14706)

Automatic Merge
Этот коммит содержится в:
Rodrigo Villablanca
2020-06-06 05:47:18 -04:00
коммит произвёл GitHub
родитель 88e8f56f03
Коммит 6f28f3526d
10 изменённых файлов: 26 добавлений и 40 удалений

Просмотреть файл

@@ -1409,7 +1409,7 @@ func (s *TimerLayerChannelStore) MigratePublicChannels() error {
return resultVar0
}
func (s *TimerLayerChannelStore) PermanentDelete(channelId string) *model.AppError {
func (s *TimerLayerChannelStore) PermanentDelete(channelId string) error {
start := timemodule.Now()
resultVar0 := s.ChannelStore.PermanentDelete(channelId)