summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Token.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-08-13 21:27:03 +0200
committermkanat%kerio.com <>2005-08-13 21:27:03 +0200
commitdddc17ec8b38d7f90b7be7d9fd6ab9629077f3df (patch)
tree9836708e345769706c774f799701aa5b40b02cc5 /Bugzilla/Token.pm
parent71a6b9cf80cd368fd3fd69d673ddf10142763e59 (diff)
downloadbugzilla-dddc17ec8b38d7f90b7be7d9fd6ab9629077f3df.tar.gz
bugzilla-dddc17ec8b38d7f90b7be7d9fd6ab9629077f3df.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/Token.pm')
-rw-r--r--Bugzilla/Token.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Token.pm b/Bugzilla/Token.pm
index 44ee1a642..a198dda3f 100644
--- a/Bugzilla/Token.pm
+++ b/Bugzilla/Token.pm
@@ -249,7 +249,7 @@ sub HasEmailChangeToken {
return $token;
}
-sub GetTokenData($) {
+sub GetTokenData {
# Returns the userid, issuedate and eventdata for the specified token
my ($token) = @_;
@@ -263,7 +263,7 @@ sub GetTokenData($) {
WHERE token = ?", undef, $token);
}
-sub DeleteToken($) {
+sub DeleteToken {
# Deletes specified token
my ($token) = @_;
@@ -280,7 +280,7 @@ sub DeleteToken($) {
# Internal Functions
################################################################################
-sub _create_token($$$) {
+sub _create_token {
# Generates a unique token and inserts it into the database
# Returns the token and the token timestamp
my ($userid, $tokentype, $eventdata) = @_;