diff options
author | mkanat%bugzilla.org <> | 2006-12-14 06:03:50 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-12-14 06:03:50 +0000 |
commit | b695e2a6b0a94cdfa2074b6967e30395f2876fd7 (patch) | |
tree | 79c8985ccf582676b369189cce8155cbf36b89a4 | |
parent | a50aaa37ec837b5d753ad31250db36282953c0c7 (diff) | |
download | bugs-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.tar bugs-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.tar.gz bugs-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.tar.bz2 bugs-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.tar.xz bugs-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.zip |
Post-checkin fix for bug 360710: Fix how docs get the required DBD versions.
-rw-r--r-- | docs/makedocs.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl index 949a4e95f..818f45e41 100644 --- a/docs/makedocs.pl +++ b/docs/makedocs.pl @@ -81,10 +81,10 @@ print ENTITIES "\n <!-- Database Versions --> \n"; my $db_modules = DB_MODULE; foreach my $db (keys %$db_modules) { - my $name = $db_modules->{$db}->{'dbd'}; - $name =~ s/::/-/g; + my $dbd = $db_modules->{$db}->{dbd}; + my $name = $dbd->{package}; $name = lc($name); - my $version = $db_modules->{$db}->{'dbd_version'} eq 0 ? 'any' : $db_modules->{$db}->{'dbd_version'}; + my $version = $dbd->{version} || 'any'; my $db_version = $db_modules->{$db}->{'db_version'}; print ENTITIES '<!ENTITY min-' . $name . '-ver "'.$version.'">' . "\n"; print ENTITIES '<!ENTITY min-' . lc($db) . '-ver "'.$db_version.'">' . "\n"; |