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:
8e268ef
)
Use non-deprecated methd
author
eileen
<emcnaughton@wikimedia.org>
Thu, 21 May 2020 02:25:02 +0000
(14:25 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Thu, 21 May 2020 02:25:02 +0000
(14:25 +1200)
api/v3/Generic/Getlist.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Generic/Getlist.php
b/api/v3/Generic/Getlist.php
index 2fecc84c4fcf6dc820d2135510136bf840acabc7..f63948e27c2ce66b5e673aeb281d549dabbb2185 100644
(file)
--- a/
api/v3/Generic/Getlist.php
+++ b/
api/v3/Generic/Getlist.php
@@
-22,7
+22,7
@@
* @throws \CiviCRM_API3_Exception
*/
function civicrm_api3_generic_getList($apiRequest) {
- $entity =
_civicrm_api_get_entity_name_from_camel
($apiRequest['entity']);
+ $entity =
CRM_Core_DAO_AllCoreTables::convertEntityNameToLower
($apiRequest['entity']);
$request = $apiRequest['params'];
$meta = civicrm_api3_generic_getfields(['action' => 'get'] + $apiRequest, FALSE);