diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2011-04-23 12:16:06 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2011-04-23 12:16:06 -0700 |
commit | 466f2a657ef4b22346e2232f50bc5cca4ab6e540 (patch) | |
tree | 06e4f2226d7c1b990d7ebb920b15456e9af871d4 /modules/user/helpers | |
parent | a9eb995dd2b64667c300c6193656b6cdfeb4e2a5 (diff) |
Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length
Diffstat (limited to 'modules/user/helpers')
-rw-r--r-- | modules/user/helpers/user_installer.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php index b889af49..b5e40a24 100644 --- a/modules/user/helpers/user_installer.php +++ b/modules/user/helpers/user_installer.php @@ -23,6 +23,7 @@ class user_installer { } static function install() { + module::set_var("user", "minimum_password_length", 5); IdentityProvider::change_provider("user"); } @@ -44,6 +45,12 @@ class user_installer { ->execute(); module::set_version("user", $version = 3); } + + if ($version == 3) { + module::set_var("user", "minimum_password_length", 5); + module::clear_var("user", "mininum_password_length"); + module::set_version("user", $version = 4); + } } static function uninstall() { |