Commit 8f319bf7 authored by haseeb's avatar haseeb

nullify closed by on reopenning issue

parent ae75d8df
...@@ -10,6 +10,7 @@ module Issues ...@@ -10,6 +10,7 @@ module Issues
execute_hooks(issue, 'reopen') execute_hooks(issue, 'reopen')
invalidate_cache_counts(issue, users: issue.assignees) invalidate_cache_counts(issue, users: issue.assignees)
issue.update_project_counter_caches issue.update_project_counter_caches
issue.update(closed_by: nil, closed_at: nil)
end end
issue issue
......
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