From 13c89539182d2d6fdc4d323ee7824fd99739b396 Mon Sep 17 00:00:00 2001
From: Rob Vermaas
Date: Mon, 11 Jan 2010 10:07:10 +0000
Subject: [PATCH] * removed stats from home page. will make global stats page
later on
---
src/lib/Hydra/Controller/Root.pm | 1 -
src/root/overview.tt | 5 -----
2 files changed, 6 deletions(-)
diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm
index 4929a7bf..16d6f1c8 100644
--- a/src/lib/Hydra/Controller/Root.pm
+++ b/src/lib/Hydra/Controller/Root.pm
@@ -23,7 +23,6 @@ sub index :Path :Args(0) {
my ($self, $c) = @_;
$c->stash->{template} = 'overview.tt';
$c->stash->{projects} = [$c->model('DB::Projects')->search({}, {order_by => 'displayname'})];
- getBuildStats($c, $c->model('DB::Builds'));
}
diff --git a/src/root/overview.tt b/src/root/overview.tt
index 7a4b234b..873427eb 100644
--- a/src/root/overview.tt
+++ b/src/root/overview.tt
@@ -59,9 +59,4 @@ href="http://nixos.org/hydra">[Read more...]
-Statistics
-
-[% INCLUDE showBuildStats %]
-
-
[% END %]