You are here

function messaging_simple_message_load in Messaging 7

Load callback

File

messaging_simple/messaging_simple.module, line 76
Simple messaging using html page. Messaging method plug-in

Code

function messaging_simple_message_load($mgid) {

  // If $mgid is object or array - do nothing
  // (fixing conflict with message_load() function in message module).
  if (is_array($mgid) || is_object($mgid)) {
    return NULL;
  }
  return Messaging_Simple::load($mgid);
}