PLT-7 adding loc db calls for users table

Этот коммит содержится в:
=Corey Hulen
2016-01-20 12:43:44 -06:00
родитель aac8d121a0
Коммит 75f8729e2d
33 изменённых файлов: 323 добавлений и 320 удалений

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

@@ -544,7 +544,7 @@ func loadTestPostsCommand(c *Context, command *model.Command) bool {
}
var usernames []string
if result := <-Srv.Store.User().GetProfiles(c.Session.TeamId); result.Err == nil {
if result := <-Srv.Store.User().GetProfiles(c.T, c.Session.TeamId); result.Err == nil {
profileUsers := result.Data.(map[string]*model.User)
usernames = make([]string, len(profileUsers))
i := 0