X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FActionSchedule.php;h=6ad01642316327cc8b32a95b18206f1e20a9070a;hb=2517d365911c8fa2753109d1a7c899121214a6cf;hp=b42b461d024ad4079d9e229182b9c3308eca6f33;hpb=d880d1db343ce51a575d446d2748e3e1e5468277;p=civicrm-core.git diff --git a/api/v3/ActionSchedule.php b/api/v3/ActionSchedule.php index b42b461d02..6ad0164231 100644 --- a/api/v3/ActionSchedule.php +++ b/api/v3/ActionSchedule.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. | | | @@ -43,7 +43,6 @@ function civicrm_api3_action_schedule_get($params) { return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'ActionSchedule'); } - /** * Create a new ActionSchedule. * @@ -52,7 +51,7 @@ function civicrm_api3_action_schedule_get($params) { * @return array */ function civicrm_api3_action_schedule_create($params) { - civicrm_api3_verify_one_mandatory($params, NULL, array('start_action_date', 'absolute_date')); + civicrm_api3_verify_one_mandatory($params, NULL, ['start_action_date', 'absolute_date']); if (!array_key_exists('name', $params) && !array_key_exists('id', $params)) { $params['name'] = CRM_Utils_String::munge($params['title']); }