migrating perm delete by channel to sync (#10993)

Этот коммит содержится в:
Evan do Carmo
2019-05-29 08:55:03 -04:00
коммит произвёл Jesús Espino
родитель ca15690685
Коммит 42ac975c0e
5 изменённых файлов: 14 добавлений и 15 удалений

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

@@ -424,15 +424,15 @@ func (_m *PostStore) PermanentDeleteBatch(endTime int64, limit int64) store.Stor
}
// PermanentDeleteByChannel provides a mock function with given fields: channelId
func (_m *PostStore) PermanentDeleteByChannel(channelId string) store.StoreChannel {
func (_m *PostStore) PermanentDeleteByChannel(channelId string) *model.AppError {
ret := _m.Called(channelId)
var r0 store.StoreChannel
if rf, ok := ret.Get(0).(func(string) store.StoreChannel); ok {
var r0 *model.AppError
if rf, ok := ret.Get(0).(func(string) *model.AppError); ok {
r0 = rf(channelId)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}