Commit 755bc44e authored by Rémy Coutable's avatar Rémy Coutable

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

Remove duplicate cache invalidation from IssuableBaseService

See merge request !11475
parents 8f2bdeb7 8293da66
...@@ -178,7 +178,6 @@ class IssuableBaseService < BaseService ...@@ -178,7 +178,6 @@ class IssuableBaseService < BaseService
after_create(issuable) after_create(issuable)
issuable.create_cross_references!(current_user) issuable.create_cross_references!(current_user)
execute_hooks(issuable) execute_hooks(issuable)
issuable.assignees.each(&:invalidate_cache_counts)
invalidate_cache_counts(issuable.assignees, issuable) invalidate_cache_counts(issuable.assignees, issuable)
end end
......
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