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:
Chris Morgan
2007-04-01 22:34:33 +00:00
committed by WineHQ
parent fa442e0c8e
commit 4402ac64b1
2 changed files with 2 additions and 2 deletions

View File

@@ -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 = '?'

View File

@@ -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);
}