summaryrefslogtreecommitdiffstats
path: root/extensions/Push
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-03-07 06:16:25 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-03-07 06:16:25 +0100
commitf559a15d0537821bc507277b2ef4ef097872f154 (patch)
treefc83b79b9f1ae901dabd4d90c20cc8c8750acc86 /extensions/Push
parent00f9ff644aafd76c170deed627180ba64c935f3b (diff)
downloadbugzilla-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.pm3
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);