Comments

polynya’s picture

StatusFileSize
new470 bytes

Here is a patch for 7.x-1.3.

erikwebb’s picture

Title: Db_select condition at the top of password_policy_cron always return TRUE » Cron never short circuits - bad count query
Status: Active » Needs review
StatusFileSize
new375 bytes

Thanks for pointing this out. According to the documentation, we should actually use something slightly different - https://drupal.org/node/310075#count_queries

Try this patch out.

erikwebb’s picture

This looks a little cleaner to me.

Status: Needs review » Needs work

The last submitted patch, password_policy-cron_never_short_circuits-1838342-3.patch, failed testing.

erikwebb’s picture

Status: Needs work » Needs review
StatusFileSize
new783 bytes
dalin’s picture

Status: Needs review » Reviewed & tested by the community

This also happened to fix the odd issue where password_policy module was somehow re-calling cron.php.

erikwebb’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.