From c922073c79f949a867827e4f302d2ec433bbe85e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 29 May 2006 10:02:45 +0000 Subject: Bug 302876: Database Version-Checking needs to be more modular and more generic Patch By Max Kanat-Alexander r=wicked, a=myk --- Bugzilla/DB/Mysql.pm | 5 ----- Bugzilla/DB/Pg.pm | 4 ---- 2 files changed, 9 deletions(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index e03fbc910..9493fb099 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -49,11 +49,6 @@ use Bugzilla::Error; # This module extends the DB interface via inheritance use base qw(Bugzilla::DB); -use constant REQUIRED_VERSION => '4.0.14'; -use constant PROGRAM_NAME => 'MySQL'; -use constant MODULE_NAME => 'Mysql'; -use constant DBD_VERSION => '2.9003'; - sub new { my ($class, $user, $pass, $host, $dbname, $port, $sock) = @_; diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm index 5162466c5..7bf64ab9d 100644 --- a/Bugzilla/DB/Pg.pm +++ b/Bugzilla/DB/Pg.pm @@ -50,10 +50,6 @@ use DBD::Pg; use base qw(Bugzilla::DB); use constant BLOB_TYPE => { pg_type => DBD::Pg::PG_BYTEA }; -use constant REQUIRED_VERSION => '8.00.0000'; -use constant PROGRAM_NAME => 'PostgreSQL'; -use constant MODULE_NAME => 'Pg'; -use constant DBD_VERSION => '1.45'; sub new { my ($class, $user, $pass, $host, $dbname, $port) = @_; -- cgit v1.2.3-24-g4f1b