You are here

function Messaging_Message::get_sender_account in Messaging 7

Get sender account if uid present

1 call to Messaging_Message::get_sender_account()
Messaging_Message::get_sender_name in ./messaging.message.inc
Get sender name

File

./messaging.message.inc, line 269
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

function get_sender_account() {
  if (isset($this->sender['uid'])) {
    return user_load($this->sender['uid']);
  }
}