diff options
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/attachment.cgi b/attachment.cgi index 431db444e..2b35b5e2c 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -825,7 +825,7 @@ sub delete_attachment { } # Now delete the token. - Bugzilla::Token::DeleteToken($token); + delete_token($token); # Paste the reason provided by the admin into a comment. AppendComment($bug_id, $user->id, $msg); @@ -835,7 +835,7 @@ sub delete_attachment { } else { # Create a token. - $token = Bugzilla::Token::IssueSessionToken('attachment' . $attach_id); + $token = issue_session_token('attachment' . $attach_id); $vars->{'a'} = $attachment; $vars->{'token'} = $token; |