mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#298 remove send emain to document author
This commit is contained in:
parent
2e8a0b5e5e
commit
d441370523
2 changed files with 10 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue