Remove duplicate cache invalidation from IssuableBaseService

This commit is contained in:
Rémy Coutable 2017-05-18 10:18:06 +00:00
parent a9f04f3239
commit 8293da6671

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