GH-10760: Migrate Post.Delete to sync by default (#10830)

Этот коммит содержится в:
PR
2019-05-13 04:07:15 -07:00
коммит произвёл Jesús Espino
родитель 480fffd3cc
Коммит b3aa3d4567
5 изменённых файлов: 38 добавлений и 32 удалений

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

@@ -67,15 +67,15 @@ func (_m *PostStore) ClearCaches() {
}
// Delete provides a mock function with given fields: postId, time, deleteByID
func (_m *PostStore) Delete(postId string, time int64, deleteByID string) store.StoreChannel {
func (_m *PostStore) Delete(postId string, time int64, deleteByID string) *model.AppError {
ret := _m.Called(postId, time, deleteByID)
var r0 store.StoreChannel
if rf, ok := ret.Get(0).(func(string, int64, string) store.StoreChannel); ok {
var r0 *model.AppError
if rf, ok := ret.Get(0).(func(string, int64, string) *model.AppError); ok {
r0 = rf(postId, time, deleteByID)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}