diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-18 13:18:06 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-05-18 13:18:06 +0300 |
commit | 8293da66712e667715d9eb83095705d0eaff5143 (patch) | |
tree | 39b10a36bd14b79d1242d664be158bc94e0b8676 /app/services | |
parent | a9f04f32391848ba1971f8f2fa0fa5ebe26224e2 (diff) |
Remove duplicate cache invalidation from IssuableBaseService
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/issuable_base_service.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/issuable_base_service.rb b/app/services/issuable_base_service.rb index 5ad4b2a9adf..e94ab3e64db 100644 --- a/app/services/issuable_base_service.rb +++ b/app/services/issuable_base_service.rb @@ -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 |