From 311eb45dbd343068dce41bb44dd8db9f8108cf7e Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 16 Mar 2006 05:51:34 +0000 Subject: Bug 330521: Remove @::legal_product, @::legal_components and @::legal_target_milestone - Patch by Frédéric Buclin r=mkanat a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Version.pm | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Version.pm b/Bugzilla/Version.pm index 53bf9a678..9492e8135 100644 --- a/Bugzilla/Version.pm +++ b/Bugzilla/Version.pm @@ -109,13 +109,6 @@ sub check_version { return $version; } -sub distinct_names { - my $dbh = Bugzilla->dbh; - my $names = $dbh->selectcol_arrayref( - 'SELECT DISTINCT value FROM versions ORDER BY value'); - return @$names; -} - 1; __END__ @@ -179,17 +172,6 @@ Version.pm represents a Product Version object. Returns: Bugzilla::Version object. -=item C - - Description: A utility function for getting all the - possible version values from the database, - regardless of what product they're in. - Returns a list with no duplicate versions. - - Params: none - - Returns: A list of strings (versions). - =back =cut -- cgit v1.2.3-24-g4f1b