Index: modules/update/update.compare.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.compare.inc,v retrieving revision 1.8.2.2 diff -u -p -r1.8.2.2 update.compare.inc --- modules/update/update.compare.inc 28 Aug 2008 08:14:56 -0000 1.8.2.2 +++ modules/update/update.compare.inc 14 Apr 2009 03:47:21 -0000 @@ -29,6 +29,10 @@ function update_get_projects() { // Still empty, so we have to rebuild the cache. _update_process_info_list($projects, module_rebuild_cache(), 'module'); _update_process_info_list($projects, system_theme_data(), 'theme'); + // Allow other modules to alter projects before fetching and comparing. + drupal_alter('update_projects', $projects); + // Make sure modules are sorted by name. + ksort($projects); // Set the projects array into the cache table. cache_set('update_project_projects', $projects, 'cache_update', time() + 3600); } Index: modules/update/update.fetch.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.fetch.inc,v retrieving revision 1.7.2.2 diff -u -p -r1.7.2.2 update.fetch.inc --- modules/update/update.fetch.inc 14 Jan 2009 21:36:16 -0000 1.7.2.2 +++ modules/update/update.fetch.inc 14 Apr 2009 03:47:22 -0000 @@ -39,7 +39,8 @@ function _update_refresh() { $projects = update_get_projects(); foreach ($projects as $key => $project) { - $url = _update_build_fetch_url($project, $site_key); + $disabled = strpos($project['project_type'], 'disabled') !== FALSE; + $url = _update_build_fetch_url($project, $disabled ? '' : $site_key); $xml = drupal_http_request($url); if (isset($xml->data)) { $data[] = $xml->data;