diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-09 07:34:30 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-09 07:34:30 -0800 |
commit | 64f5a98bd60410e54b6d0c59c713bb7e3eff0a83 (patch) | |
tree | 601ad14613dc7e63e5f814e636951879c15b16a4 /modules | |
parent | 6ddbef3dcd3ee34e622bc7286ebf138b7ef1ffaa (diff) |
Since the activate_sidebar_blocks mentod is called from the module::install, we don't need to add the block in the image_block_installer::install method as well> Fixes ticket 874.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/image_block/helpers/image_block_installer.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/image_block/helpers/image_block_installer.php b/modules/image_block/helpers/image_block_installer.php index 06668dc2..04a15619 100644 --- a/modules/image_block/helpers/image_block_installer.php +++ b/modules/image_block/helpers/image_block_installer.php @@ -19,13 +19,11 @@ */ class image_block_installer { static function install() { - block_manager::add("site.sidebar", "image_block", "random_image"); module::set_version("image_block", 2); } static function upgrade($version) { if ($version == 1) { - block_manager::add("site.sidebar", "image_block", "random_image"); module::set_version("image_block", 2); } } |