Commit 99976567 authored by Lin Jen-Shin's avatar Lin Jen-Shin

We're doing the same for CE and EE now

parent 6656d92a
......@@ -236,11 +236,9 @@ class IssuableBaseService < BaseService
)
if old_assignees != issuable.assignees
## EE-specific
new_assignees = issuable.assignees.to_a
affected_assignees = (old_assignees + new_assignees) - (old_assignees & new_assignees)
invalidate_cache_counts(affected_assignees.compact, issuable)
## EE-specific
end
after_update(issuable)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment