summaryrefslogtreecommitdiff
path: root/modules/block.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/block.module')
-rw-r--r--modules/block.module6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/block.module b/modules/block.module
index f7ec7c24b..847b55aa8 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -77,6 +77,12 @@ function block_admin_save($edit) {
db_query("UPDATE blocks SET region = '%s', status = '%d', custom = '%d', path = '%s', weight = '%d' WHERE module = '%s' AND delta = '%d'", $block["region"], $block["status"], $block["custom"], $block["path"], $block["weight"], $module, $delta);
}
}
+
+ /*
+ ** Clear the cache so the changes take effect for anonymous users.
+ */
+
+ cache_clear_all();
}
/**