Commit 8293da66 authored by Rémy Coutable's avatar Rémy Coutable

Remove duplicate cache invalidation from IssuableBaseService

parent a9f04f32
...@@ -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