If 'replyText' is set when deleting an application we should include this reply

text when emailing the maintainers with the deletion message.
This commit is contained in:
Chris Morgan
2005-05-09 22:12:19 +00:00
committed by WineHQ
parent 8d2792cbd8
commit a827db238f

View File

@@ -326,6 +326,14 @@ class Application {
break; break;
case "delete": case "delete":
$sSubject = $this->sName." has been deleted by ".$_SESSION['current']->sRealname; $sSubject = $this->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("Application deleted.", "green"); addmsg("Application deleted.", "green");
break; break;
} }