CRM-16556 - Clear caches more thoroughly from config->cleanupCaches
authorColeman Watts <coleman@civicrm.org>
Thu, 4 Jun 2015 16:37:19 +0000 (12:37 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 4 Jun 2015 16:37:19 +0000 (12:37 -0400)
CRM/Core/Config.php

index d37ee5911ef5a9bfc035e57179b88c16fee8e432..1d8cd5a608627c0e5b3d4127c3708758b9f5a9d4 100644 (file)
@@ -728,8 +728,9 @@ class CRM_Core_Config extends CRM_Core_Config_Variables {
     // cleanup templates_c directory
     $this->cleanup(1, FALSE);
 
-    // clear db caching
+    // clear all caches
     self::clearDBCache();
+    CRM_Utils_System::flushCache();
 
     if ($sessionReset) {
       $session = CRM_Core_Session::singleton();