From 64f5a98bd60410e54b6d0c59c713bb7e3eff0a83 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 9 Nov 2009 07:34:30 -0800 Subject: 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. --- modules/image_block/helpers/image_block_installer.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/image_block') 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); } } -- cgit v1.2.3