summaryrefslogtreecommitdiff
path: root/modules/info/helpers/info_installer.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2013-06-13 21:42:10 +0000
committerNathan Kinkade <nath@nkinka.de>2013-06-13 21:42:10 +0000
commit9ef4eff6aea4ec1135f7b12ff8f22dc296cc91ba (patch)
treefa8363f922cbc0bdde1838b744e2ed36c23c0bc9 /modules/info/helpers/info_installer.php
parent9569b43035de9645e82271896e302c8d082d960a (diff)
parenta3d06cc5bca05cc1b892872f494e83a24837d06f (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/info/helpers/info_installer.php')
-rw-r--r--modules/info/helpers/info_installer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/info/helpers/info_installer.php b/modules/info/helpers/info_installer.php
index 43c216dc..2d06a0ef 100644
--- a/modules/info/helpers/info_installer.php
+++ b/modules/info/helpers/info_installer.php
@@ -25,6 +25,7 @@ class info_installer {
module::set_var("info", "show_owner", 1);
module::set_var("info", "show_name", 1);
module::set_var("info", "show_captured", 1);
+ module::set_var("info", "show_dimensions", 1);
}
static function upgrade($version) {
@@ -36,5 +37,9 @@ class info_installer {
module::set_var("info", "show_captured", 1);
module::set_version("info", $version = 2);
}
+ if ($version == 2) {
+ module::set_var("info", "show_dimensions", 1);
+ module::set_version("info", $version = 3);
+ }
}
}