Bug 330521: Remove @::legal_product, @::legal_components and @::legal_target_milestone - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@192453 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user