diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-16 12:01:50 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-16 12:01:50 +0300 |
commit | 2cce73a223e701481776a9112c5155c27aa81986 (patch) | |
tree | 4a24821b8e49a9aec9148a10db76bd7b8bcc7f1e /app/services | |
parent | 12f573aa23d30205758e2fb20165a5b360efe3e1 (diff) | |
parent | 99976567fbb1d1d4e7af962134db6cdd8763e619 (diff) |
Merge branch 'backport-ee-cache-invalidation-to-ce-ee' into 'master'
EE: Use the same way to invalidate cache from EE
See merge request !2134
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/issuable_base_service.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/issuable_base_service.rb b/app/services/issuable_base_service.rb index 735fa3086b2..bf61d06877c 100644 --- a/app/services/issuable_base_service.rb +++ b/app/services/issuable_base_service.rb @@ -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) |