From 7e7c55198719337e7cb39b07c0d5a48c0a6908de Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Mon, 14 May 2018 09:43:06 -0400 Subject: MM-9739: deprecate the now unused Channels.ExtraUpdateAt (#8762) --- model/channel.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'model/channel.go') diff --git a/model/channel.go b/model/channel.go index df68202d6..749b8dc94 100644 --- a/model/channel.go +++ b/model/channel.go @@ -44,7 +44,6 @@ type Channel struct { Purpose string `json:"purpose"` LastPostAt int64 `json:"last_post_at"` TotalMsgCount int64 `json:"total_msg_count"` - ExtraUpdateAt int64 `json:"extra_update_at"` CreatorId string `json:"creator_id"` } @@ -133,17 +132,12 @@ func (o *Channel) PreSave() { o.CreateAt = GetMillis() o.UpdateAt = o.CreateAt - o.ExtraUpdateAt = o.CreateAt } func (o *Channel) PreUpdate() { o.UpdateAt = GetMillis() } -func (o *Channel) ExtraUpdated() { - o.ExtraUpdateAt = GetMillis() -} - func (o *Channel) IsGroupOrDirect() bool { return o.Type == CHANNEL_DIRECT || o.Type == CHANNEL_GROUP } -- cgit v1.2.3-1-g7c22