forked from lix-project/hydra
perlcritic: doesn't like prototypes
This commit is contained in:
parent
c317ab0dbe
commit
d98d74fa4f
|
@ -488,7 +488,7 @@ sub getTotalShares {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub cancelBuilds($$) {
|
sub cancelBuilds {
|
||||||
my ($db, $builds) = @_;
|
my ($db, $builds) = @_;
|
||||||
return $db->txn_do(sub {
|
return $db->txn_do(sub {
|
||||||
$builds = $builds->search({ finished => 0 });
|
$builds = $builds->search({ finished => 0 });
|
||||||
|
@ -505,7 +505,7 @@ sub cancelBuilds($$) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub restartBuilds($$) {
|
sub restartBuilds {
|
||||||
my ($db, $builds) = @_;
|
my ($db, $builds) = @_;
|
||||||
|
|
||||||
$builds = $builds->search({ finished => 1 });
|
$builds = $builds->search({ finished => 1 });
|
||||||
|
|
Loading…
Reference in a new issue