projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM_Contribution_BAO_Contribution - Fix test failure
[civicrm-core.git]
/
CRM
/
Core
/
Invoke.php
diff --git
a/CRM/Core/Invoke.php
b/CRM/Core/Invoke.php
index bd60f01405be44c90b01ccabd8ac6d0dd0cd552d..4c25c0f885a14ab036f37efad462fc9a9dabd674 100644
(file)
--- a/
CRM/Core/Invoke.php
+++ b/
CRM/Core/Invoke.php
@@
-399,11
+399,12
@@
class CRM_Core_Invoke {
// also cleanup module permissions
$config->cleanupPermissions();
// also cleanup module permissions
$config->cleanupPermissions();
- //
also rebuild word replacement cache
- CRM_Core_BAO_WordReplacement::rebuild();
+ //
rebuild word replacement cache - pass false to prevent operations redundant with this fn
+ CRM_Core_BAO_WordReplacement::rebuild(
FALSE
);
CRM_Core_BAO_Setting::updateSettingsFromMetaData();
CRM_Core_BAO_Setting::updateSettingsFromMetaData();
- CRM_Core_Resources::singleton()->resetCacheCode();
+ // Clear js caches
+ CRM_Core_Resources::singleton()->flushStrings()->resetCacheCode();
CRM_Case_XMLRepository::singleton(TRUE);
// also rebuild triggers if requested explicitly
CRM_Case_XMLRepository::singleton(TRUE);
// also rebuild triggers if requested explicitly