From 60e7e4fbe9fb415c3744f3a97522f1f1e728e35a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Nov 2013 15:20:30 +0100 Subject: [PATCH] Remove obsolete/broken timeline feature --- src/lib/Hydra/Controller/Root.pm | 14 ------- src/root/timeline.tt | 64 -------------------------------- 2 files changed, 78 deletions(-) delete mode 100644 src/root/timeline.tt diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm index 3071bb8c..ad34ae40 100644 --- a/src/lib/Hydra/Controller/Root.pm +++ b/src/lib/Hydra/Controller/Root.pm @@ -76,20 +76,6 @@ sub queue_GET { } -sub timeline :Local { - my ($self, $c) = @_; - my $pit = time(); - $c->stash->{pit} = $pit; - $pit = $pit-(24*60*60)-1; - - $c->stash->{template} = 'timeline.tt'; - $c->stash->{builds} = [ $c->model('DB::Builds')->search - ( { finished => 1, stoptime => { '>' => $pit } } - , { order_by => ["starttime"] } - ) ]; -} - - sub status :Local :Args(0) :ActionClass('REST') { } sub status_GET { diff --git a/src/root/timeline.tt b/src/root/timeline.tt deleted file mode 100644 index 2f665ad0..00000000 --- a/src/root/timeline.tt +++ /dev/null @@ -1,64 +0,0 @@ -[% USE date %] - -[% WRAPPER layout.tt title="Timeline" %] - -[% PROCESS common.tt %] - - - - - - - -
- - -[% END %]