You are here

public static function Messaging_User_Destination::validate_address in Messaging 7

Check address is valid

Overrides Messaging_Destination::validate_address

File

./messaging.destination.inc, line 467
Drupal Messaging Framework - Default class file

Class

Messaging_User_Destination
Destination is a system user

Code

public static function validate_address($address, $type = NULL) {
  return is_object($address) ? !empty($address->uid) : FALSE;
}