summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-29 20:50:02 +0200
committermkanat%bugzilla.org <>2006-07-29 20:50:02 +0200
commitd4d6011cdc1742f13ca773baf5e4867a8821b8bc (patch)
tree41f5390eab390899e8326f18cba8ff706d9dfb18 /Bugzilla/DB
parent3dcfda49cafd05b35844fdb194bd783ae3857d02 (diff)
downloadbugzilla-d4d6011cdc1742f13ca773baf5e4867a8821b8bc.tar.gz
bugzilla-d4d6011cdc1742f13ca773baf5e4867a8821b8bc.tar.xz
Bug 346410: Move enum-table population code into Bugzilla::DB
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=justdave
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Mysql.pm4
1 files changed, 2 insertions, 2 deletions
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