projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #15622 from eileenmcnaughton/deprecate_bad
[civicrm-core.git]
/
api
/
v3
/
RecurringEntity.php
diff --git
a/api/v3/RecurringEntity.php
b/api/v3/RecurringEntity.php
index 17fbaa4872d16cd3b7f08402765879a23edce216..3d7ec66cce1a9a28aa3be69433c16227293eec69 100644
(file)
--- a/
api/v3/RecurringEntity.php
+++ b/
api/v3/RecurringEntity.php
@@
-52,10
+52,10
@@
function civicrm_api3_recurring_entity_get($params) {
* Array of parameters determined by getfields.
*/
function _civicrm_api3_recurring_entity_get_spec(&$params) {
* Array of parameters determined by getfields.
*/
function _civicrm_api3_recurring_entity_get_spec(&$params) {
- $params['entity_table']['options'] =
array(
+ $params['entity_table']['options'] =
[
'civicrm_event' => 'civicrm_event',
'civicrm_activity' => 'civicrm_activity',
'civicrm_event' => 'civicrm_event',
'civicrm_activity' => 'civicrm_activity',
-
)
;
+
]
;
}
/**
}
/**
@@
-78,10
+78,10
@@
function civicrm_api3_recurring_entity_create($params) {
* Array of parameters determined by getfields.
*/
function _civicrm_api3_recurring_entity_create_spec(&$params) {
* Array of parameters determined by getfields.
*/
function _civicrm_api3_recurring_entity_create_spec(&$params) {
- $params['entity_table']['options'] =
array(
+ $params['entity_table']['options'] =
[
'civicrm_event' => 'civicrm_event',
'civicrm_activity' => 'civicrm_activity',
'civicrm_event' => 'civicrm_event',
'civicrm_activity' => 'civicrm_activity',
-
)
;
+
]
;
$params['entity_table']['api.required'] = 1;
}
$params['entity_table']['api.required'] = 1;
}