Re-generate the install.sql so that the keys of the block lists are an md5 hash of the module_name:block_id. Also change the packager so we delete the _cache variable for the module gallery not core.

This commit is contained in:
Tim Almdal
2009-11-12 13:08:29 -08:00
parent 79f700ef9f
commit a5a8cfd1bc
4 changed files with 8 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ class Admin_Sidebar_Controller extends Admin_Controller {
$active_blocks = array();
foreach ($this->input->get("block", array()) as $block_id) {
$active_blocks[] = explode(":", (string) $block_id);
$active_blocks[md5($block_id)] = explode(":", (string) $block_id);
}
block_manager::set_active("site.sidebar", $active_blocks);