diff options
author | Rob Ede <robjtede@icloud.com> | 2017-10-30 16:20:29 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-30 16:20:29 +0000 |
commit | e80f056712be9013262981ad1bfb1978f7ffbbde (patch) | |
tree | 4ba75ea0c36763df51bfdab63f3ddf11448297db /app/services/issues | |
parent | 7521f8a846fc4da2ac5ecc040f7eb03c3f1f28aa (diff) | |
download | gitlab-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.rb | 1 |
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 |