projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4dd564
)
Corrected throw new exception
author
Jose Torres
<jtorres@pesc.com>
Mon, 8 Aug 2016 22:42:40 +0000
(15:42 -0700)
committer
GitHub
<noreply@github.com>
Mon, 8 Aug 2016 22:42:40 +0000
(15:42 -0700)
api/v3/Membership.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Membership.php
b/api/v3/Membership.php
index ef3ee0759e5c65bf7acd9b18c8bf5a20858697a5..fa1952599a983ddecd9d9b2827d8e9123a482196 100644
(file)
--- 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 {