You are here

function acquia_spi_flush_caches in Acquia Connector 7.3

Implements hook_flush_caches().

File

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

Code

function acquia_spi_flush_caches() {
  if (acquia_spi_check_prod_env()) {
    $server = acquia_agent_get_server_superglobal();
    watchdog('acquia_spi', 'Flushed cache data on %site', array(
      '%site' => $server['AH_SITE_NAME'],
    ), WATCHDOG_INFO);
  }
  return array();
}