summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-12-14 07:03:50 +0100
committermkanat%bugzilla.org <>2006-12-14 07:03:50 +0100
commitb695e2a6b0a94cdfa2074b6967e30395f2876fd7 (patch)
tree79c8985ccf582676b369189cce8155cbf36b89a4
parenta50aaa37ec837b5d753ad31250db36282953c0c7 (diff)
downloadbugzilla-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.tar.gz
bugzilla-b695e2a6b0a94cdfa2074b6967e30395f2876fd7.tar.xz
Post-checkin fix for bug 360710: Fix how docs get the required DBD versions.
-rw-r--r--docs/makedocs.pl6
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";