summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2017-04-04 15:19:09 -0300
committerFelipe Artur <felipefac@gmail.com>2017-04-04 15:19:09 -0300
commit251255e7ca3e1b1526041fdb1f501a884ea468e6 (patch)
treeab07de4bbfdbfe267269b50de0267357ff5c4f15 /app
parent0a4b853f2ceb0ad6c7394d1056f9139e53b38688 (diff)
downloadgitlab-ce-251255e7ca3e1b1526041fdb1f501a884ea468e6.tar.gz
Do not set closed_at to nil when issue is reopenedissue_91_ee_backport
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb4
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