Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5078 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-03-10 19:34:17 +00:00 committed by Eric Davis
parent da28fa6e0f
commit 4975675b60
1 changed files with 0 additions and 6 deletions

View File

@ -40,10 +40,4 @@ module GanttHelper
end
end
end
def number_of_issues_on_versions(gantt)
versions = gantt.events.collect {|event| (event.is_a? Version) ? event : nil}.compact
versions.sum {|v| v.fixed_issues.for_gantt.with_query(@query).count}
end
end