summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-16 06:51:34 +0100
committerlpsolit%gmail.com <>2006-03-16 06:51:34 +0100
commit311eb45dbd343068dce41bb44dd8db9f8108cf7e (patch)
tree34c2f43c62b24714389d1ef5a3fa79175cbc593b /Bugzilla
parentd19c2c5203d27955941e51bf75415c88e611b7b4 (diff)
downloadbugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.tar.gz
bugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.tar.xz
Bug 330521: Remove @::legal_product, @::legal_components and @::legal_target_milestone - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Version.pm18
1 files changed, 0 insertions, 18 deletions
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<distinct_names()>
-
- 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