function _sf_import_drush_check_soap in Salesforce Suite 6.2
Same name and namespace in other branches
- 7.2 sf_import/sf_import.drush.inc \_sf_import_drush_check_soap()
Safety check! Make sure the we have access to SOAP, if not try to give the user a helpful error message.
2 calls to _sf_import_drush_check_soap()
- drush_sf_import in sf_import/
sf_import.drush.inc - Import data from Salesforce
- drush_sf_import_sf_fieldmap in sf_import/
sf_import.drush.inc - Info about a specific fieldmap import
File
- sf_import/
sf_import.drush.inc, line 347 - Drush integration for Salesforce Import module. Provides commands to import Salesforce data.
Code
function _sf_import_drush_check_soap() {
if (!extension_loaded('soap')) {
drush_die("Have you enabled SOAP? If you can connect through the browser, make sure your command line PHP binary is the same as your web server's PHP binary.");
}
}