]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded setting self[left_column_name] and self[right_column_name] from Issue...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Aug 2014 05:45:49 +0000 (05:45 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 23 Aug 2014 05:45:49 +0000 (05:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13345 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue.rb

index a98305fef290e6b04f35bd9290d8e09042b5d853..d3b2311c81af11ce825013b095ba95be6719a07f 100644 (file)
@@ -1326,8 +1326,6 @@ class Issue < ActiveRecord::Base
         offset = right_most_bound + 1 - lft
         Issue.where(cond).
           update_all(["root_id = ?, lft = lft + ?, rgt = rgt + ?", root_id, offset, offset])
-        self[left_column_name]  = lft + offset
-        self[right_column_name] = rgt + offset
       end
       if @parent_issue
         move_to_child_of(@parent_issue)