From 06d0d8c2a45da477480f667975fc0dcd48231df2 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 23 Sep 2008 19:07:58 +0000 Subject: =?UTF-8?q?#267724=20follow-up=20by=20G=C3=A1bor=20Hojtsy=20and=20?= =?UTF-8?q?dww:=20Wrap=20logic=20in=20parentheses=20for=20better=20clarifi?= =?UTF-8?q?cation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/update/update.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/update/update.module') diff --git a/modules/update/update.module b/modules/update/update.module index 5036370cb..f2489aab2 100644 --- a/modules/update/update.module +++ b/modules/update/update.module @@ -278,7 +278,7 @@ function update_cron() { $interval = 60 * 60 * 24 * $frequency; // Cron should check for updates if there is no update data cached or if the configured // update interval has elapsed. - if (!cache_get('update_info', 'cache_update') || REQUEST_TIME - variable_get('update_last_check', 0) > $interval) { + if (!cache_get('update_info', 'cache_update') || ((REQUEST_TIME - variable_get('update_last_check', 0)) > $interval)) { update_refresh(); _update_cron_notify(); } -- cgit v1.2.3