From b695e2a6b0a94cdfa2074b6967e30395f2876fd7 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 14 Dec 2006 06:03:50 +0000 Subject: Post-checkin fix for bug 360710: Fix how docs get the required DBD versions. --- docs/makedocs.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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 \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 '' . "\n"; print ENTITIES '' . "\n"; -- cgit v1.2.3-24-g4f1b