From d44137052398ee6f4878d8f05854249cdee3c565 Mon Sep 17 00:00:00 2001 From: akasima Date: Tue, 21 Jan 2014 10:00:37 +0900 Subject: [PATCH] #298 remove send emain to document author --- modules/comment/comment.admin.controller.php | 5 +++++ modules/comment/comment.controller.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/modules/comment/comment.admin.controller.php b/modules/comment/comment.admin.controller.php index abc27b476..7f6737132 100644 --- a/modules/comment/comment.admin.controller.php +++ b/modules/comment/comment.admin.controller.php @@ -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) diff --git a/modules/comment/comment.controller.php b/modules/comment/comment.controller.php index 5c5bc2106..a9e918929 100644 --- a/modules/comment/comment.controller.php +++ b/modules/comment/comment.controller.php @@ -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 }