/[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.20.2.1, Wed Nov 19 18:36:00 2008 UTC revision 1.20.2.2, Thu Apr 30 07:29:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: cvs_deploy.module,v 1.20 2008/10/01 22:54:32 dww Exp $  // $Id: cvs_deploy.module,v 1.20.2.1 2008/11/19 18:36:00 dww Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 104  function _cvs_deploy_version_alter(&$ver Line 104  function _cvs_deploy_version_alter(&$ver
104      // update_get_available() here, we'd enter infinite recursion when that      // update_get_available() here, we'd enter infinite recursion when that
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) && ($cache = cache_get('update_info', 'cache_update'))) {      if (empty($available)) {
108        $available = $cache->data;        if (function_exists('_update_cache_get')) {
109            // 6.11 core and later, using the new private cache system.
110            $cache = _update_cache_get('update_available_releases');
111          }
112          else {
113            // 6.10 core and earlier, using the (fragile) core cache system.
114            $cache = cache_get('update_info', 'cache_update');
115          }
116          if (!empty($cache)) {
117            $available = $cache->data;
118          }
119      }      }
120      $project = update_get_project_name($file);      $project = update_get_project_name($file);
121      if (isset($available[$project]['releases'])) {      if (isset($available[$project]['releases'])) {

Legend:
Removed from v.1.20.2.1  
changed lines
  Added in v.1.20.2.2

  ViewVC Help
Powered by ViewVC 1.1.2