diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-08-04 19:09:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-04 19:09:47 +0200 |
commit | 28a1de6319da8b481b9b5ec08f070bce65e17bb3 (patch) | |
tree | eb847858414dd851ee18a1f6c43ed22b2d265829 /Bugzilla/Config/ShadowDB.pm | |
parent | e0dc311bfb82168bce140113198697958ad386b8 (diff) | |
download | bugzilla-28a1de6319da8b481b9b5ec08f070bce65e17bb3.tar.gz bugzilla-28a1de6319da8b481b9b5ec08f070bce65e17bb3.tar.xz |
Bug 1387459 - Tidy the Bugzilla/Config/*.pm modules
Diffstat (limited to 'Bugzilla/Config/ShadowDB.pm')
-rw-r--r-- | Bugzilla/Config/ShadowDB.pm | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/Bugzilla/Config/ShadowDB.pm b/Bugzilla/Config/ShadowDB.pm index 5dbbb5202..772df5675 100644 --- a/Bugzilla/Config/ShadowDB.pm +++ b/Bugzilla/Config/ShadowDB.pm @@ -16,36 +16,37 @@ use Bugzilla::Config::Common; our $sortkey = 1500; sub get_param_list { - my $class = shift; - my @param_list = ( - { - name => 'shadowdbhost', - type => 't', - default => '', - }, - - { - name => 'shadowdbport', - type => 't', - default => '3306', - checker => \&check_numeric, - }, - - { - name => 'shadowdbsock', - type => 't', - default => '', - }, - - # This entry must be _after_ the shadowdb{host,port,sock} settings so that - # they can be used in the validation here - { - name => 'shadowdb', - type => 't', - default => '', - checker => \&check_shadowdb - } ); - return @param_list; + my $class = shift; + my @param_list = ( + { + name => 'shadowdbhost', + type => 't', + default => '', + }, + + { + name => 'shadowdbport', + type => 't', + default => '3306', + checker => \&check_numeric, + }, + + { + name => 'shadowdbsock', + type => 't', + default => '', + }, + + # This entry must be _after_ the shadowdb{host,port,sock} settings so that + # they can be used in the validation here + { + name => 'shadowdb', + type => 't', + default => '', + checker => \&check_shadowdb + } + ); + return @param_list; } 1; |