You are here

function Messaging_Message::get_user in Messaging 7

Get user, if the message is intended for a single user

File

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

Class

Messaging_Message
Message class

Code

function get_user() {
  return !empty($this->uid) ? user_load($this->uid) : NULL;
}