From bf751d9a94dca1b48f30a061aa09049c977fbda1 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 1 Oct 2010 18:37:23 +0000 Subject: #651086 follow-up by carols8f: Fix cache clearing is an ineffective mess. --- includes/common.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 0c3851411..8fda660e9 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -6544,6 +6544,9 @@ function drupal_flush_all_caches() { menu_rebuild(); node_types_rebuild(); + // Synchronize to catch any actions that were added or removed. + actions_synchronize(); + // Don't clear cache_form - in-progress form submissions may break. // Ordered so clearing the page cache will always be the last action. $core = array('cache', 'cache_filter', 'cache_bootstrap', 'cache_page'); -- cgit v1.2.3