remove old, already commented code

This commit is contained in:
Uwe Steinmann 2016-12-08 18:12:25 +01:00
parent 5937d98cb3
commit 30d85e03fc

View File

@ -100,18 +100,6 @@ if ($_POST["approvalType"] == "ind") {
else {
// Send an email notification to the document updater.
if($notifier) {
/*
$subject = $settings->_siteName.": ".$document->getName().", v.".$version." - ".getMLText("approval_submit_email");
$message = getMLText("approval_submit_email")."\r\n";
$message .=
getMLText("name").": ".$document->getName()."\r\n".
getMLText("version").": ".$version."\r\n".
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() .">\r\n".
getMLText("status").": ".getApprovalStatusText($_POST["approvalStatus"])."\r\n".
getMLText("comment").": ".$comment."\r\n".
"URL: http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$documentid."\r\n";
*/
$subject = "approval_submit_email_subject";
$message = "approval_submit_email_body";
$params = array();
@ -150,18 +138,6 @@ else if ($_POST["approvalType"] == "grp") {
else {
// Send an email notification to the document updater.
if($notifier) {
/*
$subject = $settings->_siteName.": ".$document->getName().", v.".$version." - ".getMLText("approval_submit_email");
$message = getMLText("approval_submit_email")."\r\n";
$message .=
getMLText("name").": ".$document->getName()."\r\n".
getMLText("version").": ".$version."\r\n".
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() .">\r\n".
getMLText("status").": ".getApprovalStatusText($_POST["approvalStatus"])."\r\n".
getMLText("comment").": ".$comment."\r\n".
"URL: http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$documentid."\r\n";
*/
$subject = "approval_submit_email_subject";
$message = "approval_submit_email_body";
$params = array();