diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-01-31 19:55:53 -0500 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-01-31 19:55:53 -0500 |
commit | 93963422505ecc790af62ae0503f301145debac3 (patch) | |
tree | d83680fc65fee9bec06bf90917189a2ac1c2709e /modules/image_block | |
parent | cb08f6cc13bfd07aed2e6588cad6a6cc655b73f6 (diff) |
Drop the requirement to have the install() function set the module
version. It's redundant. Fixes #1985.
Diffstat (limited to 'modules/image_block')
-rw-r--r-- | modules/image_block/helpers/image_block_installer.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/image_block/helpers/image_block_installer.php b/modules/image_block/helpers/image_block_installer.php index 8558fe51..b177b971 100644 --- a/modules/image_block/helpers/image_block_installer.php +++ b/modules/image_block/helpers/image_block_installer.php @@ -21,7 +21,6 @@ class image_block_installer { static function install() { module::set_var("image_block", "image_count", "1"); - module::set_version("image_block", $version = 3); } static function upgrade($version) { |