From 8b1271b185e2907694a2f549e0e522318c38321e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 25 Mar 2007 03:58:25 +0000 Subject: [PATCH] testData: remove un-needed functions now that admin/adminTestResults.php has been removed --- include/testData.php | 68 -------------------------------------------- 1 file changed, 68 deletions(-) diff --git a/include/testData.php b/include/testData.php index fd7acc0..1addc4e 100644 --- a/include/testData.php +++ b/include/testData.php @@ -623,74 +623,6 @@ class testData{ $this->sComments = $aValues['sComments']; } - - function getTestingQueue($sQueued='true') - { - if($_SESSION['current']->hasPriv("admin")) - { - $hResult = query_parameters("SELECT * - FROM testResults - WHERE queued = '?'", $sQueued); - if(!$hResult || mysql_num_rows($hResult) == 0) - return; - } else - { - $hResult = query_parameters("SELECT * - FROM testResults - WHERE queued = '?' - AND submitterId = '?'", - $sQueued, $_SESSION['current']->iUserId); - if(!$hResult || mysql_num_rows($hResult) == 0) - return; - } - return $hResult; - } - - function ShowListofTests($hResult, $heading="") - { - //show applist - echo html_frame_start($heading,"90%","",0); - echo " - - - - - - - - - "; - - while($oRow = mysql_fetch_object($hResult)) - { - $oTest = new testData($oRow->testingId); - $oVersion = new Version($oTest->iVersionId); - // don't show test results of versions that are still queued. - if ($oVersion->sQueued == 'false') - { - $oApp = new Application($oVersion->iAppId); - $oSubmitter = new User($oTest->iSubmitterId); - $bgcolor = $oTest->sTestedRating; - echo '',"\n"; - echo " \n"; - echo " \n"; - echo ' '; - echo ' '; - echo " \n"; - echo " \n"; - echo " \n"; - echo "\n\n"; - } - } - echo "
Submission DateSubmitterApplicationVersionReleaseRatingAction
".print_date(mysqltimestamp_to_unixtimestamp($oTest->sSubmitTime))."\n"; - echo $oSubmitter->sEmail ? "sEmail."\">":""; - echo $oSubmitter->sRealname; - echo $oSubmitter->sEmail ? "":""; - echo " '.$oApp->sName.''.$oVersion->sName.'".$oTest->sTestedRelease."".$oTest->sTestedRating."[iTestingId.">process]
","\n"; - - echo html_frame_end(); - } - function make_Installs_list($sVarname, $sSelectedValue) { echo "