forked from lix-project/hydra
Build: Remove unused prevBuild
This speeds up loading the page a lot in the case where there is no previous evaluation (for some reason).
This commit is contained in:
parent
d9dc7ca18b
commit
8bb23905c3
|
@ -30,7 +30,6 @@ sub buildChain :Chained('/') :PathPart('build') :CaptureArgs(1) {
|
|||
notFound($c, "Build with ID $id doesn't exist.")
|
||||
if !defined $c->stash->{build};
|
||||
|
||||
$c->stash->{prevBuild} = getPreviousBuild($c->stash->{build});
|
||||
$c->stash->{prevSuccessfulBuild} = getPreviousSuccessfulBuild($c, $c->stash->{build});
|
||||
$c->stash->{firstBrokenBuild} = getNextBuild($c, $c->stash->{prevSuccessfulBuild});
|
||||
|
||||
|
|
Loading…
Reference in a new issue