From d4d6011cdc1742f13ca773baf5e4867a8821b8bc Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 29 Jul 2006 18:50:02 +0000 Subject: Bug 346410: Move enum-table population code into Bugzilla::DB Patch By Max Kanat-Alexander (module owner) a=justdave --- Bugzilla/DB/Mysql.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 5cf588983..2f23e8345 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -532,8 +532,8 @@ sub bz_setup_database { sub bz_enum_initial_values { - my ($self, $enum_defaults) = @_; - my %enum_values = %$enum_defaults; + my ($self) = @_; + my %enum_values = %{$self->ENUM_DEFAULTS}; # Get a complete description of the 'bugs' table; with DBD::MySQL # there isn't a column-by-column way of doing this. Could use # $dbh->column_info, but it would go slower and we would have to -- cgit v1.2.1