- Patch #210140 by dww: fixed code comment: 'default_major' is now deprecated in favor of 'supported_majors'.
parent
061433ad6d
commit
5a54bbe702
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue