diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-05 11:05:32 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-05 11:05:32 +0300 |
commit | 20e6670a4779addff3244ee8713b6a6a8f969e4c (patch) | |
tree | 236ae43c23dcaa82830da8fb04fa27c6f896e431 /app | |
parent | d4d95ad32fb1f47ecb4b6d0e8d9885dba0222453 (diff) | |
parent | 251255e7ca3e1b1526041fdb1f501a884ea468e6 (diff) |
Merge branch 'issue_91_ee_backport' into 'master'
Do not set closed_at to nil when issue is reopened
See merge request !10453
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 10a5d9d2a24..472796df9df 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -59,10 +59,6 @@ class Issue < ActiveRecord::Base before_transition any => :closed do |issue| issue.closed_at = Time.zone.now end - - before_transition closed: any do |issue| - issue.closed_at = nil - end end def hook_attrs |