Commit d54bb1e0 authored by haseeb's avatar haseeb Committed by oswaldoferreira

nullify closed by on reopenning issue

parent e0516980
...@@ -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