summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorSteffen185 <steffen.weber@gmail.com>2013-03-23 10:59:19 +0100
committerSteffen185 <steffen.weber@gmail.com>2013-03-23 10:59:19 +0100
commit1a78f13faab8c107c0a368091229b4445b904fff (patch)
tree862dbfb8a25f92e9ea7e244a9e9922f5a4214629 /program/steps/mail/func.inc
parentd227eda9cba8f120b49ab6b9d6d3b46651f8c6c2 (diff)
Add hook "message_check_safe"
This hook can be used by https://github.com/JohnDoh/Roundcube-Plugin-Global-Address-Book to mark messages as safe whose sender exists in the global address book
Diffstat (limited to 'program/steps/mail/func.inc')
-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 274c40b5c..da01e6cbf 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -608,6 +608,8 @@ function rcmail_check_safe(&$message)
$message->set_safe(true);
}
}
+
+ $RCMAIL->plugins->exec_hook('message_check_safe', array('message' => $message));
break;
case 2: // always