diff options
author | Jesse Hallam <jesse.hallam@gmail.com> | 2018-05-14 09:43:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 09:43:06 -0400 |
commit | 7e7c55198719337e7cb39b07c0d5a48c0a6908de (patch) | |
tree | 83ddc7fced3ab2fa4bd54da20155e336db53522e /model/channel.go | |
parent | c9196af23efae32f7d836b20d6e41ec4d09a43ce (diff) | |
download | chat-7e7c55198719337e7cb39b07c0d5a48c0a6908de.tar.gz chat-7e7c55198719337e7cb39b07c0d5a48c0a6908de.tar.bz2 chat-7e7c55198719337e7cb39b07c0d5a48c0a6908de.zip |
MM-9739: deprecate the now unused Channels.ExtraUpdateAt (#8762)
Diffstat (limited to 'model/channel.go')
-rw-r--r-- | model/channel.go | 6 |
1 files changed, 0 insertions, 6 deletions
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 } |