From dddc17ec8b38d7f90b7be7d9fd6ab9629077f3df Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Sat, 13 Aug 2005 19:27:03 +0000 Subject: Bug 303669: Bugzilla mis-uses perl subroutine prototypes Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- Bugzilla/Token.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Token.pm') 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) = @_; -- cgit v1.2.3-24-g4f1b