summaryrefslogtreecommitdiff
path: root/app/services/issues
diff options
context:
space:
mode:
authorRob Ede <robjtede@icloud.com>2017-10-30 16:20:29 +0000
committerRémy Coutable <remy@rymai.me>2017-10-30 16:20:29 +0000
commite80f056712be9013262981ad1bfb1978f7ffbbde (patch)
tree4ba75ea0c36763df51bfdab63f3ddf11448297db /app/services/issues
parent7521f8a846fc4da2ac5ecc040f7eb03c3f1f28aa (diff)
downloadgitlab-ce-e80f056712be9013262981ad1bfb1978f7ffbbde.tar.gz
Refresh open Issue and Merge Request project counter caches when re-opening
Diffstat (limited to 'app/services/issues')
-rw-r--r--app/services/issues/reopen_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/issues/reopen_service.rb b/app/services/issues/reopen_service.rb
index 35de4337b15..62b4b4b6a1e 100644
--- a/app/services/issues/reopen_service.rb
+++ b/app/services/issues/reopen_service.rb
@@ -9,6 +9,7 @@ module Issues
notification_service.reopen_issue(issue, current_user)
execute_hooks(issue, 'reopen')
invalidate_cache_counts(issue, users: issue.assignees)
+ issue.update_project_counter_caches
end
issue