You are here

function acquia_agent_system_info_alter in Acquia Connector 7.2

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

Implementation of hook_system_info_alter()

File

acquia_agent/acquia_agent.module, line 411
Acquia Agent securely sends information to Acquia Insight.

Code

function acquia_agent_system_info_alter(&$info) {
  if (!($subscription = acquia_agent_has_update_service())) {

    // Get subscription data or return if the service is not enabled.
    return;
  }
  if (isset($info['acquia'])) {

    // Slight hack - the datestamp field is carried thourgh by update.module.
    $info['datestamp'] = 'acquia drupal';
  }
}