Rename testData::get_test_for_versionid() to testData::getNewestTestIdFromVersionId() so the
name of the method better describes the value the method is returning
This commit is contained in:
@@ -466,7 +466,7 @@ class testData{
|
||||
}
|
||||
|
||||
/* retrieve the latest test result for a given version id */
|
||||
function get_test_for_versionid($iVersionId)
|
||||
function getNewestTestIdFromVersionId($iVersionId)
|
||||
{
|
||||
$sQuery = "SELECT testingId FROM testResults WHERE
|
||||
versionId = '?'
|
||||
|
||||
@@ -881,7 +881,7 @@ class Version {
|
||||
if(!$oTest->iTestingId)
|
||||
{
|
||||
/* fetch a new test id for this version */
|
||||
$iTestingId = testData::get_test_for_versionid($this->iVersionId);
|
||||
$iTestingId = testData::getNewestTestIdFromVersionId($this->iVersionId);
|
||||
$oTest = new testData($iTestingId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user