#298 remove send emain to document author

This commit is contained in:
akasima 2014-01-21 10:00:37 +09:00
parent 2e8a0b5e5e
commit d441370523
2 changed files with 10 additions and 0 deletions

View file

@ -132,12 +132,17 @@ class commentAdminController extends comment
$document_author_email = $oDocument->variables['email_address'];
//mail to author of thread - START
/**
* @todo Removed code send email to document author.
*/
/*
if($document_author_email != $comment->email_address && $logged_info->email_address != $document_author_email)
{
$oMail->setReceiptor($document_author_email, $document_author_email);
$oMail->send();
$already_sent[] = $document_author_email;
}
*/
//mail to author of thread - STOP
//mail to all emails set for administrators - START
if($module_info->admin_mail)

View file

@ -560,11 +560,16 @@ class commentController extends comment
$logged_info = Context::get('logged_info');
//mail to author of thread - START
/**
* @todo Removed code send email to document author.
*/
/*
if($document_author_email != $obj->email_address && $logged_info->email_address != $document_author_email)
{
$oMail->setReceiptor($document_author_email, $document_author_email);
$oMail->send();
}
*/
// mail to author of thread - STOP
}