You are here

function acquia_agent_has_credentials in Acquia Connector 6.2

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

Helper function to check if an identifer and key exist.

7 calls to acquia_agent_has_credentials()
acquia_agent_check_subscription in acquia_agent/acquia_agent.module
Get subscription status from Acquia, and store the result.
acquia_agent_init in acquia_agent/acquia_agent.module
Implementation of hook_init().
acquia_agent_requirements in acquia_agent/acquia_agent.install
Implementation of hook_requirements()
acquia_agent_subscription_is_active in acquia_agent/acquia_agent.module
Helper function to check if the site has an active subscription.
acquia_spi_requirements in acquia_spi/acquia_spi.install
Implementation of hook_requirements().

... See full list

File

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

Code

function acquia_agent_has_credentials() {
  return (bool) (variable_get('acquia_identifier', '') && variable_get('acquia_key', ''));
}