You are here

function acquia_spi_environment_change_detected in Acquia Connector 7.3

Helper function to check if a site environment change has been detected.

Return value

bool TRUE if change detected that needs to be addressed, otherwise FALSE.

3 calls to acquia_spi_environment_change_detected()
acquia_spi_environment_change_form in acquia_spi/acquia_spi.pages.inc
Acquia SPI Environment Change Actions form.
acquia_spi_requirements in acquia_spi/acquia_spi.install
Implements hook_requirements().
acquia_spi_send_data in acquia_spi/acquia_spi.module
Send data to Acquia Insight.

File

acquia_spi/acquia_spi.module, line 1842
Send site profile information (NSPI) and system data to Acquia Insight.

Code

function acquia_spi_environment_change_detected() {
  $changes = variable_get('acquia_spi_environment_changes', FALSE);
  $change_action = variable_get('acquia_spi_environment_changed_action', FALSE);
  return !empty($changes) && empty($change_action);
}