From 3fbda2307d765dde813a8cf09a01f04cd9b65ca1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 21 Apr 2009 09:31:31 +0000 Subject: - Patch #375482 by mfb: avoid PDO exceptions when block module is not enabled. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 9fe1ebe90..97efc72c3 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -4276,7 +4276,7 @@ function drupal_flush_all_caches() { node_types_rebuild(); // 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_block', 'cache_filter', 'cache_registry', 'cache_page'); + $core = array('cache', 'cache_filter', 'cache_registry', 'cache_page'); $cache_tables = array_merge(module_invoke_all('flush_caches'), $core); foreach ($cache_tables as $table) { cache_clear_all('*', $table, TRUE); -- cgit v1.2.3