You are here

function user_relationships_message in User Relationships 7

Sends message to drush log, if enabled.

Parameters

$message: Text of message.

1 call to user_relationships_message()
drush_user_relationships_generate_user_relationships in ./user_relationships.drush.inc
Generate relationships.

File

./user_relationships.drush.inc, line 33
Generate relationships between site users for testing purposes.

Code

function user_relationships_message($message) {
  if (function_exists('drush_log')) {
    drush_log($message, 'ok');
  }
  else {
    drupal_set_message($message);
  }
}