[AppDB] Add Bug number to Bug Link emails.
Tony Lambregts
tony.lambregts at gmail.com
Sat Jan 21 00:42:11 CST 2006
Fix for bug 4358
Change Log: Add Bug number to Bug Link emails.
Files Changed: include/bugs.php
-------------- next part --------------
Index: include/bugs.php
===================================================================
RCS file: /home/wine/appdb/include/bugs.php,v
retrieving revision 1.5
diff -u -r1.5 bugs.php
--- include/bugs.php 30 Sep 2005 01:55:51 -0000 1.5
+++ include/bugs.php 21 Jan 2006 06:37:42 -0000
@@ -216,7 +216,7 @@
{
if(!$this->bQueued)
{
- $sSubject = "Bug Link for ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." added by ".$_SESSION['current']->sRealname;
+ $sSubject = "Link between Bug ".$this->iBug_id." and ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." added by ".$_SESSION['current']->sRealname;
$sMsg = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
if($this->iSubmitterId)
{
@@ -227,7 +227,7 @@
addmsg("The Bug Link was successfully added into the database.", "green");
} else // Bug Link queued.
{
- $sSubject = "Bug Link for ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." submitted by ".$_SESSION['current']->sRealname;
+ $sSubject = "Link between Bug ".$this->iBug_id." and ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." submitted by ".$_SESSION['current']->sRealname;
$sMsg = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
$sMsg .= "This Bug Link has been queued.";
$sMsg .= "\n";
@@ -235,7 +235,7 @@
}
} else // Bug Link deleted.
{
- $sSubject = "Bug Link for ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." deleted by ".$_SESSION['current']->sRealname;
+ $sSubject = "Link between Bug ".$this->iBug_id." and ".lookup_app_name($this->iAppId)." ".lookup_version_name($this->iVersionId)." deleted by ".$_SESSION['current']->sRealname;
$sMsg = APPDB_ROOT."appview.php?versionId=".$this->iVersionId."\n";
addmsg("Bug Link deleted.", "green");
}
More information about the wine-patches
mailing list