From 77043bee7d8aa6646bfd8f97f3aee5f8605acf7e Mon Sep 17 00:00:00 2001 From: Jose Torres Date: Mon, 8 Aug 2016 15:42:40 -0700 Subject: [PATCH] Corrected throw new exception --- api/v3/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Membership.php b/api/v3/Membership.php index ef3ee0759e..fa1952599a 100644 --- a/api/v3/Membership.php +++ b/api/v3/Membership.php @@ -64,7 +64,7 @@ function civicrm_api3_membership_delete($params) { return civicrm_api3_create_success(TRUE, $params); } else { - throw new CiviCRM_API3_Exception('Could not delete membership'); + throw new API_Exception(ts('Could not delete membership')); } } else { -- 2.25.1