| 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 |
| 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 |
} |
} |