From f122ddee3d877be9be6003935e9eae572d9c5b4b Mon Sep 17 00:00:00 2001 From: Adrian Fish Date: Thu, 18 May 2017 19:52:41 +0100 Subject: [PATCH] SAK-32550 Clear cache for sender and receiver on friend confirmation (#4430) --- .../org/sakaiproject/portal/service/BullhornServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/BullhornServiceImpl.java b/portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/BullhornServiceImpl.java index 52d69da3c2d6..33563423e3c2 100644 --- a/portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/BullhornServiceImpl.java +++ b/portal/portal-service-impl/impl/src/java/org/sakaiproject/portal/service/BullhornServiceImpl.java @@ -196,6 +196,7 @@ public void update(Observable o, final Object arg) { String url = profileLinkLogic.getInternalDirectUrlToUserConnections(to); doSocialInsert(from, to, event, ref, e.getEventTime(), url); countCache.remove(from); + countCache.remove(to); } else if (ProfileConstants.EVENT_MESSAGE_SENT.equals(event)) { String to = pathParts[2]; String siteId = "~" + to;