You are here

function acquia_agent_load_versions in Acquia Connector 7.2

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

API function used by others to ensure version information is loaded.

Saves us some cycles to not load it each time, when it is actually not needed. We store this in a separate file, so that the Acquia build process only needs to alter that file instead of the main module file.

4 calls to acquia_agent_load_versions()
acquia_agent_get_subscription in acquia_agent/acquia_agent.module
Get subscription status from Acquia
acquia_agent_has_update_service in acquia_agent/acquia_agent.module
Returns the stored subscription data if update service is enabled or FALSE otherwise.
acquia_agent_requirements in acquia_agent/acquia_agent.install
Implementation of hook_requirements()
acquia_spi_get_version_info in acquia_spi/acquia_spi.module
Attempt to determine the version of Drupal being used. Note, there is better information on this in the common.inc file.
1 string reference to 'acquia_agent_load_versions'
_acquia_spi_drush_get in acquia_spi/acquia_spi.drush.inc
If the Acquia SPI module is not enabled, include acquia_spi.module.

File

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

Code

function acquia_agent_load_versions() {

  // Include version number information.
  include_once 'acquia_agent_drupal_version.inc';
}