If 'replyText' is set when a version is deleted include this in the email to the

maintainers list.
This commit is contained in:
Chris Morgan
2005-05-09 22:14:09 +00:00
committed by WineHQ
parent a827db238f
commit f0c756e094

View File

@@ -337,6 +337,14 @@ class Version {
break;
case "delete":
$sSubject = "Version ".$this->sName." of ".$oApp->sName." has been deleted by ".$_SESSION['current']->sRealname;
/* if replyText is set we should report the reason the application was deleted */
if($_REQUEST['replyText'])
{
$sMsg .= "Reason given:\n";
$sMsg .= $_REQUEST['replyText']."\n"; /* append the reply text, if there is any */
}
addmsg("Version deleted.", "green");
break;
}