Index: modules/update_status/update_status.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/update_status/update_status.module,v
retrieving revision 1.83.2.30
diff -u -p -r1.83.2.30 update_status.module
--- modules/update_status/update_status.module	27 Jan 2008 18:05:04 -0000	1.83.2.30
+++ modules/update_status/update_status.module	1 Feb 2008 19:24:07 -0000
@@ -1108,6 +1108,17 @@ function update_status_calculate_project
       // Check to see if we need an update or not.
       //
 
+      // First, see if we're not supposed to check due to settings.
+      if (isset($settings[$project]) && isset($settings[$project]['check']) &&
+          ($settings[$project]['check'] == 'never' ||
+           $settings[$project]['check'] == $available[$project]['recommended'])) {
+        $projects[$project]['check'] = FALSE;
+        $projects[$project]['status'] = UPDATE_STATUS_NOT_CHECKED;
+        $projects[$project]['reason'] = t('Ignored by settings');
+        $projects[$project]['notes'] = $settings[$project]['notes'];
+        continue;
+      }
+
       if (!empty($projects[$project]['security updates'])) {
         // If we found security updates, that always trumps any other status.
         $projects[$project]['status'] = UPDATE_STATUS_NOT_SECURE;
@@ -1126,17 +1137,6 @@ function update_status_calculate_project
         continue;
       }
 
-      // First, see if we're not supposed to check due to settings.
-      if (isset($settings[$project]) && isset($settings[$project]['check']) &&
-          ($settings[$project]['check'] == 'never' ||
-           $settings[$project]['check'] == $available[$project]['recommended'])) {
-        $projects[$project]['check'] = FALSE;
-        $projects[$project]['status'] = UPDATE_STATUS_NOT_CHECKED;
-        $projects[$project]['reason'] = t('Ignored by settings');
-        $projects[$project]['notes'] = $settings[$project]['notes'];
-        continue;
-      }
-
       // If we're running a dev snapshot, compare the date of the dev snapshot
       // with the latest official version, and record the absolute latest in
       // 'latest_dev' so we can correctly decide if there's a newer release
