If 'replyText' is set when a version is deleted include this in the email to the
maintainers list.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user