Use a define instead of magic numbers for number of builds to maintain.

Set number of builds to keep to 50
This commit is contained in:
Latif Khalifa
2013-02-04 03:14:42 +01:00
parent 0cd36c18e9
commit ba95bc5b2b
3 changed files with 3 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ if (isset($_GET["chan"]) && isset($CHANS[$_GET["chan"]])) {
$chan = "SingularityAlpha";
}
$pageSize = 20;
$pageSize = KEEP_BUILDS;
$builds = array();