diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-23 19:07:58 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-23 19:07:58 +0000 |
commit | 06d0d8c2a45da477480f667975fc0dcd48231df2 (patch) | |
tree | 66e41a32230c7af045bd8a22a9210a4f7633a590 /modules/update/update.module | |
parent | abbfc3341bf836911677c5a71cd09dbc1c2c30a7 (diff) | |
download | brdo-06d0d8c2a45da477480f667975fc0dcd48231df2.tar.gz brdo-06d0d8c2a45da477480f667975fc0dcd48231df2.tar.bz2 |
#267724 follow-up by Gábor Hojtsy and dww: Wrap logic in parentheses for better clarification.
Diffstat (limited to 'modules/update/update.module')
-rw-r--r-- | modules/update/update.module | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |