From c171872472672d129e1e4dbc99930d75a4cd59c7 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 5 Dec 2017 16:32:23 -0500 Subject: PLT-8233: Purge ChannelMemberHistory Data when Data Retention Job runs (#7937) * Changed the channel member history purge function to match pattern established by other data retention purge methods * Simplifying the channel member history store and associated tests * Regenerating mocks * Using a constant --- store/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index c95888c22..6ca07c294 100644 --- a/store/store.go +++ b/store/store.go @@ -165,7 +165,7 @@ type ChannelMemberHistoryStore interface { LogJoinEvent(userId string, channelId string, joinTime int64) StoreChannel LogLeaveEvent(userId string, channelId string, leaveTime int64) StoreChannel GetUsersInChannelDuring(startTime int64, endTime int64, channelId string) StoreChannel - PurgeHistoryBefore(time int64, channelId string) StoreChannel + PermanentDeleteBatch(endTime int64, limit int64) StoreChannel } type PostStore interface { -- cgit v1.2.3-1-g7c22