]> source.dussan.org Git - redmine.git/commitdiff
Code cleanup.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 10 Mar 2011 19:34:17 +0000 (19:34 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 10 Mar 2011 19:34:17 +0000 (19:34 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5078 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/gantt_helper.rb

index b0d9f5519850b8500ff0332915c38c26c657279d..aa7438562dbd4c180ae1eccc31ac386a85eab2a3 100644 (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