diff --git a/include/testData.php b/include/testData.php index 442f727..356ae7c 100644 --- a/include/testData.php +++ b/include/testData.php @@ -777,6 +777,21 @@ class testData{ return $sReturn; } + // return the number of test data entries for a particular version id + function get_testdata_count_for_versionid($iVersionId) + { + $sQuery = "SELECT count(*) as cnt + FROM testResults + WHERE versionId = '?' + AND + queued = '?';"; + + $hResult = query_parameters($sQuery, $iVersionId, 'false'); + + $oRow = mysql_fetch_object($hResult); + return $oRow->cnt; + } + function objectGetEntriesCount($bQueued, $bRejected) { $oTest = new testData(); diff --git a/include/version.php b/include/version.php index fa8be0d..dd8f1ec 100644 --- a/include/version.php +++ b/include/version.php @@ -1010,6 +1010,7 @@ class version { echo "