Merge branch 'backport-ce-upstream-change' into 'master'

Remove duplicate cache invalidation from IssuableBaseService

See merge request !11475
This commit is contained in:
Rémy Coutable 2017-05-18 11:34:20 +00:00
commit 755bc44ea4

View file

@ -178,7 +178,6 @@ class IssuableBaseService < BaseService
after_create(issuable)
issuable.create_cross_references!(current_user)
execute_hooks(issuable)
issuable.assignees.each(&:invalidate_cache_counts)
invalidate_cache_counts(issuable.assignees, issuable)
end