diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index a98305fef..d3b2311c8 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -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) |