/[drupal]/contributions/modules/cvs_deploy/cvs_deploy.module
ViewVC logotype

Diff of /contributions/modules/cvs_deploy/cvs_deploy.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.25, Fri Aug 21 21:04:14 2009 UTC revision 1.26, Sat Sep 26 06:57:34 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: cvs_deploy.module,v 1.24 2009/06/13 08:48:03 dww Exp $  // $Id: cvs_deploy.module,v 1.25 2009/08/21 21:04:14 dww Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 105  function _cvs_deploy_version_alter(&$ver Line 105  function _cvs_deploy_version_alter(&$ver
105      // function invokes update_status_get_projects(), which in turn needs to      // function invokes update_status_get_projects(), which in turn needs to
106      // process the .info files, which invokes the hook that leads here.      // process the .info files, which invokes the hook that leads here.
107      if (empty($available)) {      if (empty($available)) {
108        if (function_exists('_update_cache_get')) {        $cache = _update_cache_get('update_available_releases');
         // 6.11 core and later, using the new private cache system.  
         $cache = _update_cache_get('update_available_releases');  
       }  
       else {  
         // 6.10 core and earlier, using the (fragile) core cache system.  
         $cache = cache_get('update_info', 'cache_update');  
       }  
109        if (!empty($cache)) {        if (!empty($cache)) {
110          $available = $cache->data;          $available = $cache->data;
111        }        }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.2