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

#267724 follow-up by Gábor Hojtsy and dww: Wrap logic in parentheses for better clarification.

parent abbfc334
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
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment