Fix appData::listSubmittedBy() to run faster. Add a unit test for appData::listSubmittedBy()

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-15 23:43:46 +00:00
committed by WineHQ
parent 9ef6268fa6
commit fef587a60e
4 changed files with 77 additions and 17 deletions

View File

@@ -1133,9 +1133,14 @@ class Version {
return FALSE;
}
function objectMakeUrl()
{
return BASE."appview.php?iVersionId=$this->iVersionId";
}
function objectMakeLink()
{
$sLink = "<a href=\"".BASE."appview.php?iVersionId=$this->iVersionId\">".
$sLink = "<a href=\"".$this->objectMakeUrl()."\">".
$this->sName."</a>";
return $sLink;
}