diff options
-rw-r--r-- | modules/update/update.compare.inc | 6 | ||||
-rw-r--r-- | modules/update/update.module | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc index 7aebcd847..6b580d4eb 100644 --- a/modules/update/update.compare.inc +++ b/modules/update/update.compare.inc @@ -361,7 +361,7 @@ function update_calculate_project_data($available) { } // Otherwise, ignore unpublished, insecure, or unsupported releases. - if ($release['status'] == 'unpublished' || + if ($release['status'] == 'unpublished' || (isset($release['terms']['Release type']) && (in_array('Insecure', $release['terms']['Release type']) || in_array('Unsupported', $release['terms']['Release type'])))) { @@ -383,8 +383,8 @@ function update_calculate_project_data($available) { // release. We don't even care about security updates for this // branch, since if a project maintainer puts out a security release // at a higher major version and not at the lower major version, - // they must change the default major release at the same time, in - // which case we won't hit this code. + // they must remove the lower version from the supported major + // versions at the same time, in which case we won't hit this code. continue; } diff --git a/modules/update/update.module b/modules/update/update.module index 6a3fdb8e8..33747ff47 100644 --- a/modules/update/update.module +++ b/modules/update/update.module @@ -268,7 +268,7 @@ function _update_requirement_check($project, $type) { case UPDATE_UNKNOWN: case UPDATE_NOT_CHECKED: $requirement['value'] = isset($project['reason']) ? $project['reason'] : t('Can not determine status'); - $requirement['severity'] = REQUIREMENT_WARNING; + $requirement['severity'] = REQUIREMENT_WARNING; break; default: $requirement['value'] = t('Up to date'); |