Skip to content
Snippets Groups Projects
Commit 0e7b4d2b authored by Angie Byron's avatar Angie Byron
Browse files

Issue #879076 by alex_b, pillarsdotnet, ceardach: Fixed Do not set expired=0...

Issue #879076 by alex_b, pillarsdotnet, ceardach: Fixed Do not set expired=0 where expired is already 0 (performance).
parent 940fcdea
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -3018,6 +3018,7 @@ function system_cron() {
->fields(array(
'expire' => 0,
))
->condition('expire', 0, '<>')
->condition('expire', REQUEST_TIME, '<')
->execute();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment