summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2018-04-30 17:57:57 +0800
committerGitHub <noreply@github.com>2018-04-30 17:57:57 +0800
commit30011f67e88935f750bced6530e8ee92b352b7a3 (patch)
treeb4ec005faa0f11927669499a030c851efa15723b /store
parent2e6b3da1d3466db379fef0d61a23e2878d17ee9d (diff)
downloadchat-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')
-rw-r--r--store/sqlstore/team_store.go1
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)