diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2018-04-30 17:57:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 17:57:57 +0800 |
commit | 30011f67e88935f750bced6530e8ee92b352b7a3 (patch) | |
tree | b4ec005faa0f11927669499a030c851efa15723b /store/sqlstore/team_store.go | |
parent | 2e6b3da1d3466db379fef0d61a23e2878d17ee9d (diff) | |
download | chat-30011f67e88935f750bced6530e8ee92b352b7a3.tar.gz chat-30011f67e88935f750bced6530e8ee92b352b7a3.tar.bz2 chat-30011f67e88935f750bced6530e8ee92b352b7a3.zip |
[MM-10354] Add feature to remove team icon (#8684)
* set team.LastTeamIconUpdate to 0 when removing team icon
* add APIv4 for removing team icon
* removed comment and updated typo on AppError
Diffstat (limited to 'store/sqlstore/team_store.go')
-rw-r--r-- | store/sqlstore/team_store.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/store/sqlstore/team_store.go b/store/sqlstore/team_store.go index 6528b8e4c..ad27675ce 100644 --- a/store/sqlstore/team_store.go +++ b/store/sqlstore/team_store.go @@ -99,7 +99,6 @@ func (s SqlTeamStore) Update(team *model.Team) store.StoreChannel { team.CreateAt = oldTeam.CreateAt team.UpdateAt = model.GetMillis() team.Name = oldTeam.Name - team.LastTeamIconUpdate = oldTeam.LastTeamIconUpdate if count, err := s.GetMaster().Update(team); err != nil { result.Err = model.NewAppError("SqlTeamStore.Update", "store.sql_team.update.updating.app_error", nil, "id="+team.Id+", "+err.Error(), http.StatusInternalServerError) |