Ian province abbreviation patch - issue 724
[civicrm-core.git] / api / v3 / examples / Address / Delete.php
index cb8ebea86a0c1b1f0a75b4478e143fc38f7fe2c6..993b11f91f8d2596bdba2f50ec0f4b372a870966 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 /**
- * Test Generated example of using address delete API.
- *
+ * Test Generated example demonstrating the Address.delete API.
  *
  * @return array
  *   API result array
@@ -12,7 +11,7 @@ function address_delete_example() {
   );
 
   try{
-    $result = civicrm_api3('address', 'delete', $params);
+    $result = civicrm_api3('Address', 'delete', $params);
   }
   catch (CiviCRM_API3_Exception $e) {
     // Handle error here.
@@ -47,11 +46,10 @@ function address_delete_expectedresult() {
   return $expectedResult;
 }
 
-/**
+/*
 * This example has been generated from the API test suite.
-* The test that created it is called
-* testDeleteAddress
-* and can be found in
+* The test that created it is called "testDeleteAddress"
+* and can be found at:
 * https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/AddressTest.php
 *
 * You can see the outcome of the API tests at