You are here

function googleanalytics_user_presave in Google Analytics 7.2

Same name and namespace in other branches
  1. 7 googleanalytics.module \googleanalytics_user_presave()

Implements hook_user_presave().

File

./googleanalytics.module, line 464
Drupal Module: Google Analytics

Code

function googleanalytics_user_presave(&$edit, $account, $category) {
  if (isset($edit['googleanalytics']['custom'])) {
    $edit['data']['googleanalytics']['custom'] = $edit['googleanalytics']['custom'];
  }
}