diff options
author | mkanat%bugzilla.org <> | 2009-11-10 22:19:46 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-10 22:19:46 +0100 |
commit | 4b2c9f0f96242fcd5395c088de4e27bffbfb8085 (patch) | |
tree | 28f8d647697438d28cd38ec9aa901e04823c0ec5 /Bugzilla/DB.pm | |
parent | 2f804027b44c5790d4547f3161bff28266150bef (diff) | |
download | bugzilla-4b2c9f0f96242fcd5395c088de4e27bffbfb8085.tar.gz bugzilla-4b2c9f0f96242fcd5395c088de4e27bffbfb8085.tar.xz |
Bug 527505: Make 001compile.t use Bugzilla->feature to determine which modules to compile
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index a702a0f60..b8a638e24 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -271,8 +271,7 @@ EOT } # List of abstract methods we are checking the derived class implements -our @_abstract_methods = qw(REQUIRED_VERSION PROGRAM_NAME DBD_VERSION - new sql_regexp sql_not_regexp sql_limit sql_to_days +our @_abstract_methods = qw(new sql_regexp sql_not_regexp sql_limit sql_to_days sql_date_format sql_interval bz_explain sql_group_concat); @@ -287,7 +286,7 @@ sub import { # make sure all abstract methods are implemented foreach my $meth (@_abstract_methods) { $pkg->can($meth) - or croak("Class $pkg does not define method $meth"); + or die("Class $pkg does not define method $meth"); } } |