Commit b5769a3b authored by jplang's avatar jplang

Unneeded assignment (#24693).

git-svn-id: https://svn.redmine.org/redmine/trunk@16122 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent c0c4e39c
......@@ -1104,7 +1104,7 @@ class Issue < ActiveRecord::Base
# Returns a scope of the given issues and their descendants
def self.self_and_descendants(issues)
issue_ids = Issue.joins("JOIN #{Issue.table_name} ancestors" +
Issue.joins("JOIN #{Issue.table_name} ancestors" +
" ON ancestors.root_id = #{Issue.table_name}.root_id" +
" AND ancestors.lft <= #{Issue.table_name}.lft AND ancestors.rgt >= #{Issue.table_name}.rgt"
).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment