diff options
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r-- | Bugzilla.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm index 5267f3dbd..86d6e6e70 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -35,7 +35,6 @@ use Bugzilla::Template; use Bugzilla::User; use Bugzilla::Error; use Bugzilla::Util; -use Bugzilla::Field; use File::Basename; @@ -277,17 +276,6 @@ sub switch_to_main_db { return $class->dbh; } -sub get_fields { - my $class = shift; - my $criteria = shift; - return Bugzilla::Field::match($criteria); -} - -sub custom_field_names { - # Get a list of custom fields and convert it into a list of their names. - return map($_->{name}, Bugzilla::Field::match({ custom=>1, obsolete=>0 })); -} - # Private methods # Per process cleanup |