X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FRecurringEntity.php;h=3d7ec66cce1a9a28aa3be69433c16227293eec69;hb=75d91d09d336d6fecd9bbfb8d30487dc21b01a7f;hp=e77ade4096ee2613855f5faddc267522affdb64e;hpb=8fe53786227c099fa18725227248b4a335c978b4;p=civicrm-core.git diff --git a/api/v3/RecurringEntity.php b/api/v3/RecurringEntity.php index e77ade4096..3d7ec66cce 100644 --- a/api/v3/RecurringEntity.php +++ b/api/v3/RecurringEntity.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -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) { - $params['entity_table']['options'] = array( + $params['entity_table']['options'] = [ '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) { - $params['entity_table']['options'] = array( + $params['entity_table']['options'] = [ 'civicrm_event' => 'civicrm_event', 'civicrm_activity' => 'civicrm_activity', - ); + ]; $params['entity_table']['api.required'] = 1; }