You are here

function messaging_simple_format_address in Messaging 6.4

Callback for address formatting

File

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

Code

function messaging_simple_format_address($uid, $html = FALSE) {
  if ($account = messaging_load_user($uid)) {
    return $html ? theme('username', $account) : check_plain($account->name);
  }
}