summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Milestone.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-08-09 14:58:58 +0200
committermkanat%kerio.com <>2005-08-09 14:58:58 +0200
commit42a0e99d5c916b4123719d7a362e12e65e15fc2f (patch)
tree4f93a13b5360e7621601384e04e70dc455ff0c46 /Bugzilla/Milestone.pm
parent51f0717b4285af69f22b635751b6f4a62d1f7da8 (diff)
downloadbugzilla-42a0e99d5c916b4123719d7a362e12e65e15fc2f.tar.gz
bugzilla-42a0e99d5c916b4123719d7a362e12e65e15fc2f.tar.xz
Bug 303669: Bugzilla mis-uses perl subroutine prototypes
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/Milestone.pm')
-rw-r--r--Bugzilla/Milestone.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Milestone.pm b/Bugzilla/Milestone.pm
index 6956d5313..fa8fc0f82 100644
--- a/Bugzilla/Milestone.pm
+++ b/Bugzilla/Milestone.pm
@@ -99,7 +99,7 @@ sub sortkey { return $_[0]->{'sortkey'}; }
##### Subroutines #####
################################
-sub get_milestones_by_product ($) {
+sub get_milestones_by_product {
my ($product_id) = @_;
my $dbh = Bugzilla->dbh;
@@ -125,7 +125,7 @@ sub get_milestones_by_product ($) {
return @milestones;
}
-sub check_milestone ($$) {
+sub check_milestone {
my ($product, $milestone_name) = @_;
unless ($milestone_name) {
@@ -142,7 +142,7 @@ sub check_milestone ($$) {
return $milestone;
}
-sub check_sort_key ($$) {
+sub check_sort_key {
my ($milestone_name, $sortkey) = @_;
# Keep a copy in case detaint_signed() clears the sortkey
my $stored_sortkey = $sortkey;