summaryrefslogtreecommitdiffstats
path: root/app/auto_users.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/auto_users.go')
-rw-r--r--app/auto_users.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/auto_users.go b/app/auto_users.go
index 36b5b7279..8ed6767ad 100644
--- a/app/auto_users.go
+++ b/app/auto_users.go
@@ -75,7 +75,6 @@ func (cfg *AutoUserCreator) createRandomUser() (*model.User, bool) {
result, err := cfg.client.CreateUserWithInvite(user, "", "", cfg.team.InviteId)
if err != nil {
- err.Translate(utils.T)
l4g.Error(err.Error())
return nil, false
}
@@ -84,7 +83,6 @@ func (cfg *AutoUserCreator) createRandomUser() (*model.User, bool) {
status := &model.Status{UserId: ruser.Id, Status: model.STATUS_ONLINE, Manual: false, LastActivityAt: model.GetMillis(), ActiveChannel: ""}
if result := <-cfg.app.Srv.Store.Status().SaveOrUpdate(status); result.Err != nil {
- result.Err.Translate(utils.T)
l4g.Error(result.Err.Error())
return nil, false
}