Migrate User.PermanentDelete to Sync by default (#10876)

Этот коммит содержится в:
Jesús Espino
2019-05-24 15:16:15 +02:00
коммит произвёл GitHub
родитель 5a8c07412b
Коммит 1269db8691
8 изменённых файлов: 153 добавлений и 154 удалений

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

@@ -619,15 +619,15 @@ func (_m *UserStore) InvalidateProfilesInChannelCacheByUser(userId string) {
}
// PermanentDelete provides a mock function with given fields: userId
func (_m *UserStore) PermanentDelete(userId string) store.StoreChannel {
func (_m *UserStore) PermanentDelete(userId string) *model.AppError {
ret := _m.Called(userId)
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(userId)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}