diff options
author | Mary Umoh <umohm12@gmail.com> | 2017-08-23 23:45:01 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-08-23 23:45:01 +0200 |
commit | b5490fb2ecc5958ce6a9a2fa5897fedfad01c382 (patch) | |
tree | bc4f519dcb0c3169de50c9007907a9b131ccf014 /extensions/PhabBugz/bin | |
parent | 49a7186c7ab6d9b3a5bdd23834368c84001642d2 (diff) | |
download | bugzilla-b5490fb2ecc5958ce6a9a2fa5897fedfad01c382.tar.gz bugzilla-b5490fb2ecc5958ce6a9a2fa5897fedfad01c382.tar.xz |
Bug 1390316 - Unused variable in PhabBugz script $phab_api_key
Diffstat (limited to 'extensions/PhabBugz/bin')
-rwxr-xr-x | extensions/PhabBugz/bin/update_project_members.pl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/extensions/PhabBugz/bin/update_project_members.pl b/extensions/PhabBugz/bin/update_project_members.pl index 6cea1b431..bdc054e1a 100755 --- a/extensions/PhabBugz/bin/update_project_members.pl +++ b/extensions/PhabBugz/bin/update_project_members.pl @@ -29,7 +29,7 @@ use Bugzilla::Extension::PhabBugz::Util qw( Bugzilla->usage_mode(USAGE_MODE_CMDLINE); -my ($phab_uri, $phab_api_key, $phab_sync_groups); +my ($phab_uri, $phab_sync_groups); if (!Bugzilla->params->{phabricator_enabled}) { exit; @@ -40,10 +40,6 @@ unless ($phab_uri = Bugzilla->params->{phabricator_base_uri}) { ThrowUserError('invalid_phabricator_uri'); } -unless ($phab_api_key = Bugzilla->params->{phabricator_api_key}) { - ThrowUserError('invalid_phabricator_api_key'); -} - unless ($phab_sync_groups = Bugzilla->params->{phabricator_sync_groups}) { ThrowUserError('invalid_phabricator_sync_groups'); } |