function piwik_user_presave in Piwik Web Analytics 7
Same name and namespace in other branches
- 7.2 piwik.module \piwik_user_presave()
Implements hook_user_presave().
File
- ./
piwik.module, line 211 - Drupal Module: Piwik Adds the required Javascript to the bottom of all your Drupal pages to allow tracking by the Piwik statistics package.
Code
function piwik_user_presave(&$edit, $account, $category) {
if (isset($edit['piwik']['custom'])) {
$edit['data']['piwik']['custom'] = $edit['piwik']['custom'];
}
}