auditor can restore emails only to mydomain addresses

This commit is contained in:
SJ
2012-08-12 15:09:13 +02:00
parent acee4749e0
commit 1744ff986d
2 changed files with 16 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class ControllerMessageRestore extends Controller {
/* send the email to all the recipients of the original email if we are admin or auditor users */
if(Registry::get('admin_user') == 1 || Registry::get('auditor_user') == 1) {
if(Registry::get('auditor_user') == 1) {
$rcpt = $this->model_search_search->get_message_recipients($this->data['id']);
}
else {