screenshot: Link to the actual image in notification mails

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-07-22 22:06:14 +02:00
parent 1de14734d0
commit bd7081ebb4

View File

@@ -406,7 +406,12 @@ class screenshot
{ {
$oVersion = new version($this->iVersionId); $oVersion = new version($this->iVersionId);
$sAppName = version::fullName($this->iVersionId); $sAppName = version::fullName($this->iVersionId);
$sMsg = $oVersion->objectMakeUrl()."\n";
if(!$bDeleted)
$sMsg = $this->objectMakeUrl()."\n";
else
$sMsg = $oVersion->objectMakeUrl()."\n";
if(!$bDeleted) if(!$bDeleted)
{ {
if(!$this->bQueued) if(!$this->bQueued)
@@ -771,8 +776,7 @@ class screenshot
function objectMakeUrl() function objectMakeUrl()
{ {
/* STUB */ return APPDB_ROOT."appimage.php?iId={$this->iScreenshotId}";
return TRUE;
} }
function allowAnonymousSubmissions() function allowAnonymousSubmissions()