Migrate SchemeStore to sync by default (#11522)
* Migrate SchemeStore to sync by default * Fixing tests compilation * Fixing shadow variable * Fixing tests
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7da08e7a0f
Коммит
96c33948da
@@ -43,8 +43,8 @@ func (a *App) ResetPermissionsSystem() *model.AppError {
|
||||
}
|
||||
|
||||
// Purge all schemes from the database.
|
||||
if result := <-a.Srv.Store.Scheme().PermanentDeleteAll(); result.Err != nil {
|
||||
return result.Err
|
||||
if err := a.Srv.Store.Scheme().PermanentDeleteAll(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Purge all roles from the database.
|
||||
|
||||
Ссылка в новой задаче
Block a user