function googleanalytics_user_presave in Google Analytics 7
Same name and namespace in other branches
- 7.2 googleanalytics.module \googleanalytics_user_presave()
Implements hook_user_presave().
File
- ./
googleanalytics.module, line 406 - Drupal Module: Google Analytics
Code
function googleanalytics_user_presave(&$edit, $account, $category) {
if (isset($edit['googleanalytics']['custom'])) {
$edit['data']['googleanalytics']['custom'] = $edit['googleanalytics']['custom'];
}
}