function user_stats_reset_post_count in User Stats 7
Same name and namespace in other branches
- 5 user_stats.module \user_stats_reset_post_count()
- 6 user_stats.admin.inc \user_stats_reset_post_count()
Reset post count handler.
2 string references to 'user_stats_reset_post_count'
- user_stats_menu in ./
user_stats.module - Implements hook_menu().
- user_stats_uninstall in ./
user_stats.install - Implements hook_uninstall().
File
- ./
user_stats.admin.inc, line 182 - Commonly requested user statistics for themers administration interface.
Code
function user_stats_reset_post_count() {
variable_set('user_stats_rebuild_stats', TRUE);
user_stats_reset_counts('post_count');
drupal_set_message(t('Post counts have been reset.'));
drupal_goto('admin/config/people/user_stats');
}