diff options
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/Common.pm | 12 | ||||
-rw-r--r-- | Bugzilla/Config/GroupSecurity.pm | 6 | ||||
-rw-r--r-- | Bugzilla/Config/UserMatch.pm | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index 5b67a7ffc..897b4e2eb 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -237,8 +237,8 @@ sub check_webdotbase { sub check_user_verify_class { # doeditparams traverses the list of params, and for each one it checks, - # then updates. This means that if one param checker wants to look at - # other params, it must be below that other one. So you can't have two + # then updates. This means that if one param checker wants to look at + # other params, it must be below that other one. So you can't have two # params mutually dependent on each other. # This means that if someone clears the LDAP config params after setting # the login method as LDAP, we won't notice, but all logins will fail. @@ -264,7 +264,7 @@ sub check_user_verify_class { return "LDAP support is not available. Run checksetup.pl" . " for more details"; } - return "LDAP servername (LDAPserver) is missing" + return "LDAP servername (LDAPserver) is missing" if !$params->{"LDAPserver"}; return "LDAPBaseDN is empty" if !$params->{"LDAPBaseDN"}; } @@ -277,7 +277,7 @@ sub check_mail_delivery_method { return $check if $check; my $mailer = shift; if ($mailer eq 'sendmail' and ON_WINDOWS) { - # look for sendmail.exe + # look for sendmail.exe return "Failed to locate " . SENDMAIL_EXE unless -e SENDMAIL_EXE; } @@ -404,7 +404,7 @@ sub check_comment_taggers_group { # } # # Here, 'b' is the default option, and 'a' and 'c' are other possible -# options, but only one at a time! +# options, but only one at a time! # # &check_multi should always be used as the param verification function # for list (single and multiple) parameter types. @@ -423,7 +423,7 @@ Bugzilla::Config::Common - Parameter checking functions =head1 DESCRIPTION -All parameter checking functions are called with two parameters: the value to +All parameter checking functions are called with two parameters: the value to check, and a hash with the details of the param (type, default etc.) as defined in the relevant F<Bugzilla::Config::*> package. diff --git a/Bugzilla/Config/GroupSecurity.pm b/Bugzilla/Config/GroupSecurity.pm index 7288d44b6..016bc82f7 100644 --- a/Bugzilla/Config/GroupSecurity.pm +++ b/Bugzilla/Config/GroupSecurity.pm @@ -73,13 +73,13 @@ sub get_param_list { default => 'admin', checker => \&check_group }, - + { name => 'usevisibilitygroups', type => 'b', default => 0 - }, - + }, + { name => 'strict_isolation', type => 'b', diff --git a/Bugzilla/Config/UserMatch.pm b/Bugzilla/Config/UserMatch.pm index 3f74a7c44..72a9468e6 100644 --- a/Bugzilla/Config/UserMatch.pm +++ b/Bugzilla/Config/UserMatch.pm @@ -25,9 +25,9 @@ sub get_param_list { }, { - name => 'ajax_user_autocompletion', - type => 'b', - default => '1', + name => 'ajax_user_autocompletion', + type => 'b', + default => '1', }, { |