| 1 |
<?php |
<?php |
| 2 |
// $Id: acquia_agent.module,v 1.17 2009/06/16 20:06:53 pwolanin Exp $ |
// $Id: acquia_agent.module,v 1.17.2.1 2009/06/21 15:13:45 pwolanin Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 213 |
*/ |
*/ |
| 214 |
function acquia_agent_refresh_status() { |
function acquia_agent_refresh_status() { |
| 215 |
// Refresh subscription information, so we are sure about our update status. |
// Refresh subscription information, so we are sure about our update status. |
| 216 |
module_invoke('acquia_spi', 'send'); |
if (module_exists('acquia_spi')) { |
| 217 |
|
acquia_spi_send_profile_info(); |
| 218 |
|
} |
| 219 |
// We send a heartbeat here so that all of our status information gets |
// We send a heartbeat here so that all of our status information gets |
| 220 |
// updated locally via the return data. |
// updated locally via the return data. |
| 221 |
acquia_agent_check_subscription(); |
acquia_agent_check_subscription(); |
| 228 |
*/ |
*/ |
| 229 |
function acquia_agent_manual_status() { |
function acquia_agent_manual_status() { |
| 230 |
// Refresh subscription information, so we are sure about our update status. |
// Refresh subscription information, so we are sure about our update status. |
| 231 |
module_invoke('acquia_spi', 'send'); |
if (module_exists('acquia_spi')) { |
| 232 |
|
acquia_spi_send_profile_info(); |
| 233 |
|
} |
| 234 |
// We send a heartbeat here so that all of our status information gets |
// We send a heartbeat here so that all of our status information gets |
| 235 |
// updated locally via the return data. |
// updated locally via the return data. |
| 236 |
acquia_agent_check_subscription(); |
acquia_agent_check_subscription(); |