Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The user stats reset from the admin screen was not removing data from the table.
In the user_stats_reset_login_count() function, I changed
user_stats_reset_counts('user_login_count');
to
user_stats_reset_counts('login_count');
and it worked. I'm not sure if anyone else has experienced this issue, but the naming conventions were inconsistent. The Rules login count resent worked fine with the default settings.
Comments
Comment #1
Liam McDermott CreditAttribution: Liam McDermott commentedThanks for this, I've fixed it in the code which should appear on the project in ~12 hours. :)