You are here

function acquia_agent_has_credentials in Acquia Connector 7

Same name and namespace in other branches
  1. 6.2 acquia_agent/acquia_agent.module \acquia_agent_has_credentials()
  2. 6 acquia_agent/acquia_agent.module \acquia_agent_has_credentials()
  3. 7.3 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.

6 calls to acquia_agent_has_credentials()
acquia_agent_an_trial_form_submit in acquia_agent/acquia_agent.pages.inc
30 day trial form submit dispatch function
acquia_agent_check_subscription in acquia_agent/acquia_agent.module
Get subscription status from the Acquia Network, 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.

... See full list

File

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

Code

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