summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoshe weitzman2007-01-09 06:09:36 (GMT)
committer moshe weitzman2007-01-09 06:09:36 (GMT)
commitb56530e969c91bd932af3c43936826c8d1351e6d (patch)
treef52b60d0890e40784f3af7bafa31b4b8fa4aa0e6
parente3764983792d5ba8ffb7482a319791937f6a500a (diff)
clear cache link now also clears css preprocessor cache
-rw-r--r--devel.module6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index f8da84d..6008b24 100644
--- a/devel.module
+++ b/devel.module
@@ -556,7 +556,11 @@ function devel_admin_settings() {
* Menu callback; clears all caches, then redirects to the previous page.
*/
function devel_cache_clear() {
- $core = array('cache', 'cache_filter', 'cache_menu', 'cache_page');
+ // clear preprocessor cache
+ drupal_clear_css_cache();
+
+ // clear core tables
+ $core = array('cache', 'cache_filter', 'cache_menu', 'cache_page');
$alltables = $core + module_invoke_all('devel_caches');
foreach ($alltables as $table) {
cache_clear_all('*', $table, TRUE);