function statcounter_user_presave in StatCounter 7.2
Implements hook_user_presave().
File
- ./
statcounter.module, line 174 - Drupal Module: Statcounter Adds the required Javascript to the bottom of all your Drupal pages to allow tracking by the Statcounter statistics service.
Code
function statcounter_user_presave(&$edit, $account, $category) {
if (isset($edit['statcounter']['custom'])) {
$edit['data']['statcounter']['custom'] = $edit['statcounter']['custom'];
}
}