summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-07-13 00:04:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-07-13 00:04:23 +0000
commitd29799712f87de6032877cfdbc720cd8852cdacd (patch)
tree4cc3f2cda479429abfb34858740bd5c236eeed9c
parentf92fab0033d939a35e18a6598168f766c923e6a7 (diff)
downloadredmine-d29799712f87de6032877cfdbc720cd8852cdacd.tar.gz
redmine-d29799712f87de6032877cfdbc720cd8852cdacd.zip
remove unneeded statement from Issue#parent_issue_id=
git-svn-id: http://svn.redmine.org/redmine/trunk@13303 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/issue.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 3a3373ffd..a98305fef 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1121,7 +1121,6 @@ class Issue < ActiveRecord::Base
def parent_issue_id=(arg)
s = arg.to_s.strip.presence
if s && (m = s.match(%r{\A#?(\d+)\z})) && (@parent_issue = Issue.find_by_id(m[1]))
- @parent_issue.id
@invalid_parent_issue_id = nil
elsif s.blank?
@parent_issue = nil