diff options
author | David Lawrence <dkl@mozilla.com> | 2016-03-07 06:16:25 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-03-07 06:16:25 +0100 |
commit | f559a15d0537821bc507277b2ef4ef097872f154 (patch) | |
tree | fc83b79b9f1ae901dabd4d90c20cc8c8750acc86 /extensions/Push | |
parent | 00f9ff644aafd76c170deed627180ba64c935f3b (diff) | |
download | bugzilla-f559a15d0537821bc507277b2ef4ef097872f154.tar.gz bugzilla-f559a15d0537821bc507277b2ef4ef097872f154.tar.xz |
Bug 1252862 - Remove calls to delete_token() in several places where it is unnecessary
Diffstat (limited to 'extensions/Push')
-rw-r--r-- | extensions/Push/lib/Admin.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/Push/lib/Admin.pm b/extensions/Push/lib/Admin.pm index e11415ea6..5b0bb8e70 100644 --- a/extensions/Push/lib/Admin.pm +++ b/extensions/Push/lib/Admin.pm @@ -13,7 +13,7 @@ use warnings; use Bugzilla; use Bugzilla::Error; use Bugzilla::Extension::Push::Util; -use Bugzilla::Token qw(check_hash_token delete_token); +use Bugzilla::Token qw(check_hash_token); use Bugzilla::Util qw(trim detaint_natural trick_taint); use base qw(Exporter); @@ -31,7 +31,6 @@ sub admin_config { if ($input->{save}) { my $token = $input->{token}; check_hash_token($token, ['push_config']); - delete_token($token); my $dbh = Bugzilla->dbh; $dbh->bz_start_transaction(); _update_config_from_form('global', $push->config); |