You are here

function salesforce_update_7301 in Salesforce Suite 7.3

Update API version to 29.0 for getUpdated() support.

File

./salesforce.install, line 87
Install/uninstall tasks for the Salesforce module.

Code

function salesforce_update_7301() {
  $version = variable_get('salesforce_api_version', array());
  if (empty($version) || version_compare($version['version'], "29.0") < 0) {
    variable_set('salesforce_api_version', array(
      "label" => "Winter '14",
      "url" => "/services/data/v29.0/",
      "version" => "29.0",
    ));
  }
}