summaryrefslogtreecommitdiffstats
path: root/app/web_hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/web_hub.go')
-rw-r--r--app/web_hub.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/web_hub.go b/app/web_hub.go
index 90dfacbdf..a50680806 100644
--- a/app/web_hub.go
+++ b/app/web_hub.go
@@ -173,18 +173,6 @@ func InvalidateCacheForUser(userId string) {
}
}
-func InvalidateCacheForChannelMember(channelId string, userId string) {
- InvalidateCacheForChannelMemberSkipClusterSend(channelId, userId)
-
- if einterfaces.GetClusterInterface() != nil {
- einterfaces.GetClusterInterface().InvalidateCacheForChannelMember(channelId, userId)
- }
-}
-
-func InvalidateCacheForChannelMemberSkipClusterSend(channelId string, userId string) {
- Srv.Store.Channel().InvalidateMember(channelId, userId)
-}
-
func InvalidateCacheForUserSkipClusterSend(userId string) {
Srv.Store.Channel().InvalidateAllChannelMembersForUser(userId)
Srv.Store.User().InvalidateProfilesInChannelCacheByUser(userId)