From: Tom Hughes Date: Wed, 1 Aug 2007 15:19:45 +0000 (+0000) Subject: Fix the "number of users editing..." table. X-Git-Tag: live~8284 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d34bc8cb52749eb039edbe5b86ed47b5c7fa143d Fix the "number of users editing..." table. --- diff --git a/script/statistics b/script/statistics index 50363dc32..47c18312d 100755 --- a/script/statistics +++ b/script/statistics @@ -54,9 +54,7 @@ begin month_count = Trace.count(:user_id, :distinct => true, :conditions => "timestamp > NOW() - INTERVAL 28 DAY") - puts "GPX FilesDay#{day_count}" - puts "GPX FilesWeek#{week_count}" - puts "GPX FilesMonth#{month_count}" + puts "GPX Files#{day_count}#{week_count}#{month_count}" day_count = OldNode.count(:user_id, :distinct => true, :conditions => "timestamp > NOW() - INTERVAL 1 DAY") @@ -65,9 +63,7 @@ begin month_count = OldNode.count(:user_id, :distinct => true, :conditions => "timestamp > NOW() - INTERVAL 28 DAY") - puts "NodesDay#{day_count}" - puts "NodesWeek#{week_count}" - puts "NodesMonth#{month_count}" + puts "Nodes#{day_count}#{week_count}#{month_count}" puts ""