projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #22631 from braders/calculateBaseScheduleDate-docblock
[civicrm-core.git]
/
CRM
/
Core
/
Config.php
diff --git
a/CRM/Core/Config.php
b/CRM/Core/Config.php
index aef4a308b80dbacb7becbc95f0c9e293452d74ce..c1db7ff80906098b13ae85bf8d5d48a85edb2730 100644
(file)
--- a/
CRM/Core/Config.php
+++ b/
CRM/Core/Config.php
@@
-66,14
+66,6
@@
class CRM_Core_Config extends CRM_Core_Config_MagicMerge {
*/
private static $_singleton = NULL;
*/
private static $_singleton = NULL;
- /**
- * The constructor. Sets domain id if defined, otherwise assumes
- * single instance installation.
- */
- public function __construct() {
- parent::__construct();
- }
-
/**
* Singleton function used to manage this object.
*
/**
* Singleton function used to manage this object.
*
@@
-278,6
+270,8
@@
class CRM_Core_Config extends CRM_Core_Config_MagicMerge {
// clear all caches
self::clearDBCache();
Civi::cache('session')->clear();
// clear all caches
self::clearDBCache();
Civi::cache('session')->clear();
+ Civi::cache('metadata')->clear();
+ CRM_Core_DAO_AllCoreTables::reinitializeCache();
CRM_Utils_System::flushCache();
if ($sessionReset) {
CRM_Utils_System::flushCache();
if ($sessionReset) {