add state "TwingleProject updated"
This commit is contained in:
parent
ea15f7d597
commit
5ed2f30133
1 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,9 @@ class TwingleApiCall {
|
|||
try {
|
||||
$project->update($values, $project_options, TwingleProject::TWINGLE);
|
||||
$result = $project->create();
|
||||
$result['status'] = $result['status'] == 'TwingleProject created'
|
||||
? 'TwingleProject updated'
|
||||
: 'TwingleProject Update failed';
|
||||
} catch (\Exception $e){
|
||||
// Log Exception
|
||||
\Civi::log()->error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue