projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64a217
)
test fix - flush cache when creating contribution page
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 17 Jun 2014 01:58:19 +0000
(13:58 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Tue, 17 Jun 2014 01:58:19 +0000
(13:58 +1200)
api/v3/ContributionPage.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/ContributionPage.php
b/api/v3/ContributionPage.php
index 360128ba95f7a0e981f830caff18517a430bca9e..bff43b90c470ad957e7aef5eebb4e1a30ee785e7 100644
(file)
--- a/
api/v3/ContributionPage.php
+++ b/
api/v3/ContributionPage.php
@@
-47,7
+47,10
@@
* @access public
*/
function civicrm_api3_contribution_page_create($params) {
- return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+ $result = _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+ CRM_Contribute_PseudoConstant::flush('contributionPageAll');
+ CRM_Contribute_PseudoConstant::flush('contributionPageActive');
+ return $result;
}
/**