function acquia_spi_send_profile_info in Acquia Connector 6
Same name and namespace in other branches
- 7 acquia_spi/acquia_spi.module \acquia_spi_send_profile_info()
Send site profile information to Acquia Network via XML-RPC.
4 calls to acquia_spi_send_profile_info()
- acquia_agent_manual_status in acquia_agent/
acquia_agent.module - Substituted menu callback for 'admin/reports/updates/check'.
- acquia_agent_refresh_status in acquia_agent/
acquia_agent.module - Menu callback for 'admin/settings/acquia-agent/refresh-status'.
- acquia_spi_agent_settings_submit in acquia_spi/
acquia_spi.module - Added submit function for acquia_agent_settings form.
- acquia_spi_cron in acquia_spi/
acquia_spi.module - Implementation of hook_cron().
File
- acquia_spi/
acquia_spi.module, line 57 - Send site profile information (SPI) and system data to Acquia Network.
Code
function acquia_spi_send_profile_info() {
// Do nothing unless we have credentials.
if (acquia_agent_has_credentials()) {
$spi = acquia_spi_get();
return acquia_agent_call('acquia.spi.update', $spi);
}
}