You are here

function userpoints_usermerge_account_properties in User Merge 7.2

Implements hook_usermerge_account_properties() on behalf of userpoints.

File

includes/userpoints.usermerge.inc, line 20
Adds support for User Points. Supplemental include loaded via usermerge_load_includes().

Code

function userpoints_usermerge_account_properties($user_to_delete, $user_to_keep, $action) {
  $account_properties['userpoints'] = array(
    'title' => t('Userpoints'),
    'items' => array(
      'userpoints' => array(
        'name' => 'userpoints',
        'criterion' => 'merge',
      ),
    ),
  );
  return $account_properties;
}