function piwik_reports_user_presave in Piwik Reports 7.2
Same name and namespace in other branches
- 7.4 piwik_reports.module \piwik_reports_user_presave()
- 7.3 piwik_reports.module \piwik_reports_user_presave()
Implements hook_user_presave().
File
- ./
piwik_reports.module, line 262 - Defines features and functions common to Piwik Reports
Code
function piwik_reports_user_presave(&$edit, $account, $category) {
if (isset($edit['piwik']['piwik_token_auth'])) {
$edit['data']['piwik']['piwik_token_auth'] = $edit['piwik']['piwik_token_auth'];
}
}