From 4402ac64b12c3c9966885a3ad5e9b5436ab2b594 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sun, 1 Apr 2007 22:34:33 +0000 Subject: [PATCH] Rename testData::get_test_for_versionid() to testData::getNewestTestIdFromVersionId() so the name of the method better describes the value the method is returning --- include/testData.php | 2 +- include/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/testData.php b/include/testData.php index cc5528f..18b037a 100644 --- a/include/testData.php +++ b/include/testData.php @@ -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 = '?' diff --git a/include/version.php b/include/version.php index 9691030..4295b0b 100644 --- a/include/version.php +++ b/include/version.php @@ -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); }