Migrate Plugin.DeleteAllExpired to Sync by default (#11583)
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
25a2e7e981
Коммит
eb0268f108
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user