From 5e4bcf7b877f8d4ff9ab2ee76fb5ce246ea2f59c Mon Sep 17 00:00:00 2001 From: webchick Date: Sun, 3 Jul 2011 11:03:03 -0700 Subject: Issue #879076 by alex_b, pillarsdotnet, ceardach: Fixed Do not set expired=0 where expired is already 0 (performance). --- modules/system/system.module | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/system.module b/modules/system/system.module index c3b4a1e39..8fc0ffa43 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -3018,6 +3018,7 @@ function system_cron() { ->fields(array( 'expire' => 0, )) + ->condition('expire', 0, '<>') ->condition('expire', REQUEST_TIME, '<') ->execute(); } -- cgit v1.2.3