Db_select condition at the top of password_policy_cron always return TRUE.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | password_policy-cron_never_short_circuits-1838342-4.patch | 783 bytes | erikwebb |
| #3 | password_policy-cron_never_short_circuits-1838342-3.patch | 782 bytes | erikwebb |
| #2 | password_policy-cron_never_short_circuits-1838342-2.patch | 375 bytes | erikwebb |
| #1 | password_policy-1838342.patch | 470 bytes | polynya |
Comments
Comment #1
polynya commentedHere is a patch for 7.x-1.3.
Comment #2
erikwebb commentedThanks 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.
Comment #3
erikwebb commentedThis looks a little cleaner to me.
Comment #5
erikwebb commentedComment #6
dalinThis also happened to fix the odd issue where password_policy module was somehow re-calling cron.php.
Comment #7
erikwebb commentedhttp://drupalcode.org/project/password_policy.git/commit/845749b