Commit 0e7b4d2b authored by webchick's avatar webchick

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
......@@ -3018,6 +3018,7 @@ function system_cron() {
->fields(array(
'expire' => 0,
))
->condition('expire', 0, '<>')
->condition('expire', REQUEST_TIME, '<')
->execute();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment