projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable api_v3_syntaxConformaceTest::testInvalidID_delete (#9068)
[civicrm-core.git]
/
api
/
v3
/
Dashboard.php
diff --git
a/api/v3/Dashboard.php
b/api/v3/Dashboard.php
index 904fc837cfe9e3c1883f69923e1ce49947fec301..77f6d30bd6141e0d46e3c67f2b858f32f1101fa3 100644
(file)
--- a/
api/v3/Dashboard.php
+++ b/
api/v3/Dashboard.php
@@
-93,6
+93,6
@@
function civicrm_api3_dashboard_delete($params) {
return civicrm_api3_create_success(1, $params, 'Dashboard', 'delete');
}
else {
-
return civicrm_api3_create_error
('Could not delete dashlet');
+
throw new API_Exception
('Could not delete dashlet');
}
}