Index: cvs_deploy.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cvs_deploy/cvs_deploy.module,v
retrieving revision 1.27
diff -u -p -r1.27 cvs_deploy.module
--- cvs_deploy.module	26 Sep 2009 07:00:19 -0000	1.27
+++ cvs_deploy.module	12 Aug 2010 20:29:20 -0000
@@ -40,9 +40,9 @@ function cvs_deploy_version_from_tag($ta
 }
 
 /**
- * Implementation of hook_system_info_alter().
+ * Implements hook_system_info_alter().
  */
-function cvs_deploy_system_info_alter(&$info, $file) {
+function cvs_deploy_system_info_alter(&$info, $file, $type) {
   // First, if we don't know the 'project' attribute, fill it in based on the
   // CVS/Repository file.
   if (empty($info['project'])) {
@@ -106,13 +106,10 @@ function _cvs_deploy_version_alter(&$ver
     // the release node pointing to HEAD really has. However, we can only
     // safely grab this data directly from the cache, since if we call
     // update_get_available() here, we'd enter infinite recursion when that
-    // function invokes update_status_get_projects(), which in turn needs to
-    // process the .info files, which invokes the hook that leads here.
+    // function invokes update_get_projects(), which in turn needs to process
+    // the .info files, which invokes the hook that leads here.
     if (empty($available)) {
-      $cache = _update_cache_get('update_available_releases');
-      if (!empty($cache)) {
-        $available = $cache->data;
-      }
+      $available = _update_get_cached_available_releases();
     }
     $project = update_get_project_name($file);
     if (isset($available[$project]['releases'])) {
