Migrate Session.RemoveAllSessions to Sync by default (#11037)
Этот коммит содержится в:
коммит произвёл
Miguel de la Cruz
родитель
330a21a994
Коммит
978ee13262
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user