I was trying to use this module to show message to users according to the login_count. Then i saw that user_stats_get_stats allways check for permission. The problem is that i dont want the user to actually see the login_count, but i want my code to be able to use the function.

So I propose to add an optional parameter to skip permission checking.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

discrete_drusher’s picture

FileSize
1.15 KB

There was a minor syntax error.