You are here

function rules_action_load_user_upgrade_map_name in Rules 7.2

File

includes/rules.upgrade.inc, line 715
Contains code for upgrading rule configurations from 6.x-1.x to 7.x-2.x.

Code

function rules_action_load_user_upgrade_map_name($element) {
  if (!empty($element['#settings']['username'])) {
    drupal_set_message(t('Warning: Directly upgrading the load user by name action is not supported.'));
  }
  return 'entity_fetch';
}