You are here

function sms_action_user_send in SMS Framework 7

Same name and namespace in other branches
  1. 6.2 modules/sms_user/sms_user.rules.inc \sms_action_user_send()

Rules action callback to send sms message to user.

Parameters

object $user: The user to whom the message will be sent.

string $message: The message to be sent.

File

modules/sms_user/sms_user.rules.inc, line 109
SMS User Rules Implementation.

Code

function sms_action_user_send($user, $message) {
  sms_user_send($user->uid, $message);
}