From d34bc8cb52749eb039edbe5b86ed47b5c7fa143d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 1 Aug 2007 15:19:45 +0000 Subject: [PATCH] Fix the "number of users editing..." table. --- script/statistics | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 "" -- 2.43.2