summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2013-07-16 23:48:25 -0700
committerThomas B. <thomas@roundcube.net>2013-07-16 23:48:25 -0700
commita7fa90f3d3149f9aae9f2143f1aabe65a1c004a0 (patch)
tree83f0148fea876592319c6f6875f538c79e5a31ef
parent5acb99a4981b8cc2697d72dc8d7e166e2a01bdc4 (diff)
parent1a78f13faab8c107c0a368091229b4445b904fff (diff)
Merge pull request #64 from Steffen185/patch-2
Add hook "message_check_safe"
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 454650628..ae23d4a6d 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -639,6 +639,8 @@ function rcmail_check_safe(&$message)
$message->set_safe(true);
}
}
+
+ $RCMAIL->plugins->exec_hook('message_check_safe', array('message' => $message));
break;
case 2: // always