summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-10 11:54:24 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-10 11:54:24 +0000
commite637c1566089027d6b9a913d1f397127e9d6b28b (patch)
treedcc3dd0821610bcb1a50df426ef39a08c405998e /lib
parentf9d0b4776f36495acef0bedb85db081d61c102a0 (diff)
downloadredmine-e637c1566089027d6b9a913d1f397127e9d6b28b.tar.gz
redmine-e637c1566089027d6b9a913d1f397127e9d6b28b.zip
gantt: remove redundant empty lines from lib/redmine/helpers/gantt.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10341 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/helpers/gantt.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index 81118f6c1..9bbff625e 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -94,7 +94,6 @@ module Redmine
# Returns the number of rows that will be rendered on the Gantt chart
def number_of_rows
return @number_of_rows if @number_of_rows
-
rows = projects.inject(0) {|total, p| total += number_of_rows_on_project(p)}
rows > @max_rows ? @max_rows : rows
end
@@ -313,7 +312,6 @@ module Redmine
@issue_ancestors.pop
options[:indent] -= options[:indent_increment]
end
-
output = case options[:format]
when :html
css_classes = ''
@@ -366,7 +364,6 @@ module Redmine
date_to = (@date_from >> @months)-1
show_weeks = @zoom > 1
show_days = @zoom > 2
-
subject_width = 400
header_height = 18
# width of one day in pixels