summaryrefslogtreecommitdiff
path: root/modules/image_block/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-11-29 21:02:19 -0800
committerBharat Mediratta <bharat@menalto.com>2010-11-29 21:02:19 -0800
commitcdf0f7f765a5bd5e0d5619d345bdc6aba069c555 (patch)
tree061f5014a35c3dbba70474bc90c700e8e5caea00 /modules/image_block/helpers
parenta36c894c636bfb70f0921aa6c7eb9393d61d772b (diff)
In 3c523bcac6e902973c5891c02842254eaecd33a4 (fix for #1499) I left out
the install() function which should set the image_block module to version 2. Fix that here.
Diffstat (limited to 'modules/image_block/helpers')
-rw-r--r--modules/image_block/helpers/image_block_installer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/image_block/helpers/image_block_installer.php b/modules/image_block/helpers/image_block_installer.php
index 895a7e5d..e9967314 100644
--- a/modules/image_block/helpers/image_block_installer.php
+++ b/modules/image_block/helpers/image_block_installer.php
@@ -19,6 +19,10 @@
*/
class image_block_installer {
+ static function install() {
+ module::set_version("image_block", $version = 2);
+ }
+
static function upgrade($version) {
$db = Database::instance();
if ($version == 1) {