You are here

function acquia_agent_manual_status in Acquia Connector 6

Same name and namespace in other branches
  1. 6.2 acquia_agent/acquia_agent.module \acquia_agent_manual_status()
  2. 7.3 acquia_agent/acquia_agent.module \acquia_agent_manual_status()
  3. 7 acquia_agent/acquia_agent.module \acquia_agent_manual_status()
  4. 7.2 acquia_agent/acquia_agent.module \acquia_agent_manual_status()

Substituted menu callback for 'admin/reports/updates/check'.

1 string reference to 'acquia_agent_manual_status'
acquia_agent_menu_alter in acquia_agent/acquia_agent.module
Implemetation of hook_menu_alter()

File

acquia_agent/acquia_agent.module, line 243
Acquia Agent securely sends information to Acquia Network.

Code

function acquia_agent_manual_status() {

  // Refresh subscription information, so we are sure about our update status.
  if (module_exists('acquia_spi')) {
    acquia_spi_send_profile_info();
  }

  // We send a heartbeat here so that all of our status information gets
  // updated locally via the return data.
  acquia_agent_check_subscription();

  // This callback will only ever be available if update module is active.
  update_manual_status();
}