Skip to content
Snippets Groups Projects
Commit 106a7a3a authored by colemanw's avatar colemanw
Browse files

Test fixes

parent 433380ce
No related branches found
No related tags found
No related merge requests found
......@@ -46,14 +46,14 @@ function civicrm_api3_entity_get($params) {
* Placeholder function. This should never be called, as it doesn't have any meaning
*/
function civicrm_api3_entity_create($params) {
return civicrm_api3_create_error("API (Entity,Create) does not exist Creating a new entity means modifying the source code of civiCRM.");
return civicrm_api3_create_error("API (Entity, Create) does not exist Creating a new entity means modifying the source code of civiCRM.");
}
/**
* Placeholder function. This should never be called, as it doesn't have any meaning
*/
function civicrm_api3_entity_delete($params) {
return civicrm_api3_create_error("API (Entity,Delete) does not exist Deleting an entity means modifying the source code of civiCRM.");
return civicrm_api3_create_error("API (Entity, Delete) does not exist Deleting an entity means modifying the source code of civiCRM.");
}
/**
......
......@@ -6,14 +6,14 @@ require_once 'api/v3/utils.php';
* Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used
*/
function civicrm_api3_location_create($params) {
return civicrm_api3_create_error("API (Location,Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
}
function civicrm_api3_location_get($params) {
return civicrm_api3_create_error("API (Location,Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
}
function civicrm_api3_location_delete($params) {
return civicrm_api3_create_error("API (Location,Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment