mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +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'];
|
$document_author_email = $oDocument->variables['email_address'];
|
||||||
|
|
||||||
//mail to author of thread - START
|
//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)
|
if($document_author_email != $comment->email_address && $logged_info->email_address != $document_author_email)
|
||||||
{
|
{
|
||||||
$oMail->setReceiptor($document_author_email, $document_author_email);
|
$oMail->setReceiptor($document_author_email, $document_author_email);
|
||||||
$oMail->send();
|
$oMail->send();
|
||||||
$already_sent[] = $document_author_email;
|
$already_sent[] = $document_author_email;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
//mail to author of thread - STOP
|
//mail to author of thread - STOP
|
||||||
//mail to all emails set for administrators - START
|
//mail to all emails set for administrators - START
|
||||||
if($module_info->admin_mail)
|
if($module_info->admin_mail)
|
||||||
|
|
|
||||||
|
|
@ -560,11 +560,16 @@ class commentController extends comment
|
||||||
$logged_info = Context::get('logged_info');
|
$logged_info = Context::get('logged_info');
|
||||||
|
|
||||||
//mail to author of thread - START
|
//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)
|
if($document_author_email != $obj->email_address && $logged_info->email_address != $document_author_email)
|
||||||
{
|
{
|
||||||
$oMail->setReceiptor($document_author_email, $document_author_email);
|
$oMail->setReceiptor($document_author_email, $document_author_email);
|
||||||
$oMail->send();
|
$oMail->send();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
// mail to author of thread - STOP
|
// mail to author of thread - STOP
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue