Migrate Session.RemoveAllSessions to Sync by default (#11037)

Этот коммит содержится в:
Mounica Paladugu
2019-06-06 08:03:20 -07:00
коммит произвёл Miguel de la Cruz
родитель 330a21a994
Коммит 978ee13262
4 изменённых файлов: 21 добавлений и 21 удалений

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

@@ -149,15 +149,15 @@ func (_m *SessionStore) Remove(sessionIdOrToken string) store.StoreChannel {
}
// RemoveAllSessions provides a mock function with given fields:
func (_m *SessionStore) RemoveAllSessions() store.StoreChannel {
func (_m *SessionStore) RemoveAllSessions() *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)
}
}