summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-04-23 12:55:30 -0700
committerBharat Mediratta <bharat@menalto.com>2011-04-23 12:55:30 -0700
commit4d38c505cb0412eb4b470bdf95c6b317ef5a691d (patch)
tree4963ced7be71ec3e4d53beaa524a5b9c0ea8cee9 /modules
parente0f4002c58714cf87fc9172f557258148c3dea88 (diff)
Further cleanup for minimum_password_length -- update
user_installer::initialize() with the right module version number for the user module and fix the misspelling there then rebuild the installer.sql. #1694.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/helpers/user_installer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php
index b9f3c57d..9b582773 100644
--- a/modules/user/helpers/user_installer.php
+++ b/modules/user/helpers/user_installer.php
@@ -23,8 +23,8 @@ class user_installer {
}
static function install() {
- module::set_var("user", "minimum_password_length", 5);
IdentityProvider::change_provider("user");
+ // Set the latest version in initialize() below
}
static function upgrade($version) {
@@ -137,7 +137,7 @@ class user_installer {
access::allow($registered, "view", $root);
access::allow($registered, "view_full", $root);
- module::set_var("user", "mininum_password_length", 5);
- module::set_version("user", 3);
+ module::set_var("user", "minimum_password_length", 5);
+ module::set_version("user", 4);
}
} \ No newline at end of file