Migrate Plugin.DeleteAllExpired to Sync by default (#11583)

Этот коммит содержится в:
Phillip Ahereza
2019-07-09 18:15:35 +03:00
коммит произвёл Jesús Espino
родитель 25a2e7e981
Коммит eb0268f108
5 изменённых файлов: 16 добавлений и 19 удалений

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

@@ -53,15 +53,15 @@ func (_m *PluginStore) Delete(pluginId string, key string) store.StoreChannel {
}
// DeleteAllExpired provides a mock function with given fields:
func (_m *PluginStore) DeleteAllExpired() store.StoreChannel {
func (_m *PluginStore) DeleteAllExpired() *model.AppError {
ret := _m.Called()
var r0 store.StoreChannel
if rf, ok := ret.Get(0).(func() store.StoreChannel); ok {
var r0 *model.AppError
if rf, ok := ret.Get(0).(func() *model.AppError); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(store.StoreChannel)
r0 = ret.Get(0).(*model.AppError)
}
}