bug fix: test mode
This commit is contained in:
parent
aafce7c32f
commit
85afeedd23
2 changed files with 1 additions and 3 deletions
|
@ -114,8 +114,6 @@ class TwingleApiCall {
|
|||
if (is_array($values)) {
|
||||
$project = new TwingleProject($values);
|
||||
$result = $project->create($is_test);
|
||||
$result = $project->create();
|
||||
|
||||
if (
|
||||
$result['state'] == 'exists' &&
|
||||
$values['last_update'] > $project->getTimestamp()
|
||||
|
|
|
@ -94,7 +94,7 @@ class TwingleProject {
|
|||
* @return array
|
||||
* @throws \CiviCRM_API3_Exception
|
||||
*/
|
||||
public function create() {
|
||||
public function create(bool $is_test = FALSE) {
|
||||
|
||||
// Translate $value keys to custom field names
|
||||
$translatedValues = $this->translateValues();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue