Skip to content

Commit

Permalink
Add system flush
Browse files Browse the repository at this point in the history
  • Loading branch information
KarinG authored Feb 18, 2025
1 parent 567a908 commit 443aed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ function wf_civicrm_api($entity, $operation, $params) {
$result = $utils->wf_civicrm_api3_contribution_transact($params);
}
else {
civicrm_api3('System', 'flush', array());
$result = civicrm_api3($entity, $operation, $params);
}
// I guess we want silent errors for getoptions b/c we check it for failure separately
Expand Down

0 comments on commit 443aed4

Please sign in to comment.