summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Harder2007-01-31 16:32:11 (GMT)
committer Alan Harder2007-01-31 16:32:11 (GMT)
commitfdd0570d5540a2994a2ef6a0b968639bf19a8f1b (patch)
tree81662730cba2e5ed57c51ad807c668cf3804375f
parent22314d424b8a3b6ed9b1eb33a0113e1d78c2872e (diff)
#113999 Rename public API from _send to _send_privatemsg to avoid conflict with send.module4.7.x-1.2
-rw-r--r--privatemsg.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/privatemsg.module b/privatemsg.module
index 3875b53..14bd8ab 100644
--- a/privatemsg.module
+++ b/privatemsg.module
@@ -514,7 +514,7 @@ function privatemsg_message_form_submit($form_id, $form_values) {
}
// API callable from other modules:
-function privatemsg_send($recipient, $subject, $body, $format = FILTER_FORMAT_DEFAULT) {
+function privatemsg_send_privatemsg($recipient, $subject, $body, $format = FILTER_FORMAT_DEFAULT) {
global $user;
return _privatemsg_send($user, $recipient, $subject, $body, $format);
}