You are here

function messaging_user_format_name in Messaging 6.4

Same name and namespace in other branches
  1. 7 messaging.module \messaging_user_format_name()

Callback for printing user names

1 string reference to 'messaging_user_format_name'
messaging_messaging in ./messaging.module
Implementation of hook_messaging()

File

./messaging.module, line 1282

Code

function messaging_user_format_name($account, $html = FALSE) {
  $account = messaging_user_object($account);
  return $html ? theme('username', $account) : check_plain($account->name);
}