summaryrefslogtreecommitdiff
path: root/modules/update/update.compare.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-01-15 07:55:18 +0000
committerDries Buytaert <dries@buytaert.net>2008-01-15 07:55:18 +0000
commit5a54bbe702d09de2252f2f3194e30898537d7244 (patch)
tree50e080a6f9fd1c61fba8aa54afffd76bd16e5036 /modules/update/update.compare.inc
parent061433ad6dc2af3a2be73d3c01452e7136dabad2 (diff)
downloadbrdo-5a54bbe702d09de2252f2f3194e30898537d7244.tar.gz
brdo-5a54bbe702d09de2252f2f3194e30898537d7244.tar.bz2
- Patch #210140 by dww: fixed code comment: 'default_major' is now deprecated in favor of 'supported_majors'.
Diffstat (limited to 'modules/update/update.compare.inc')
-rw-r--r--modules/update/update.compare.inc6
1 files changed, 3 insertions, 3 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;
}