function ga_stats_update_counts_submit in Google Analytics Statistics 7.2
Same name and namespace in other branches
- 7 ga_stats.admin.inc \ga_stats_update_counts_submit()
Submit callback to update the statistics data.
File
- ./
ga_stats.admin.inc, line 162
Code
function ga_stats_update_counts_submit($form, &$form_state) {
if (ga_stats_update_counts()) {
drupal_set_message(t('Successfully retrieved Analytics data.'));
drupal_set_message(t('The next scheduled retrieval is on !date', array(
'!date' => date('r', ga_stats_data_expiration_date()),
)));
}
}