[MM-15300] Migrate "Preference.PermanentDeleteByUser" to Sync by default (#10860)
* [MM-15300] Migrate "Preference.PermanentDeleteByUser" to Sync by default * [MM-15300] Fixed readability on the SQL statement
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
18612bf771
Коммит
9652b49569
@@ -160,15 +160,15 @@ func (_m *PreferenceStore) IsFeatureEnabled(feature string, userId string) store
|
||||
}
|
||||
|
||||
// PermanentDeleteByUser provides a mock function with given fields: userId
|
||||
func (_m *PreferenceStore) PermanentDeleteByUser(userId string) store.StoreChannel {
|
||||
func (_m *PreferenceStore) PermanentDeleteByUser(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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user