function messaging_message_aftersend in Messaging 6
Same name and namespace in other branches
- 6.2 messaging.module \messaging_message_aftersend()
Message default after send callback: store, log, etc..
File
- ./
messaging.module, line 352
Code
function messaging_message_aftersend($message, $info) {
// Depending on parameters and what's happened so far we make the final queue/log decision
if (empty($message->mqid) && $message->log) {
messaging_store('save', $message);
}
return $message;
}