You are here

function acquia_agent_load_versions in Acquia Connector 6

Same name and namespace in other branches
  1. 6.2 acquia_agent/acquia_agent.module \acquia_agent_load_versions()
  2. 7.3 acquia_agent/acquia_agent.module \acquia_agent_load_versions()
  3. 7 acquia_agent/acquia_agent.module \acquia_agent_load_versions()
  4. 7.2 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_check_subscription in acquia_agent/acquia_agent.module
Get subscription status from the Acquia Network, and store the result.
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 in acquia_spi/acquia_spi.module
Gather site profile information about this site.

File

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

Code

function acquia_agent_load_versions() {

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