diff options
Diffstat (limited to 'extensions/PhabBugz/bin/update_project_members.pl')
-rwxr-xr-x | extensions/PhabBugz/bin/update_project_members.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/PhabBugz/bin/update_project_members.pl b/extensions/PhabBugz/bin/update_project_members.pl index 56c471fe8..0aa51e17d 100755 --- a/extensions/PhabBugz/bin/update_project_members.pl +++ b/extensions/PhabBugz/bin/update_project_members.pl @@ -27,6 +27,10 @@ Bugzilla->usage_mode(USAGE_MODE_CMDLINE); my ($phab_uri, $phab_api_key, $phab_sync_groups, $ua); +if (!Bugzilla->params->{phabricator_enabled}) { + exit; +} + # Sanity checks unless ($phab_uri = Bugzilla->params->{phabricator_base_uri}) { ThrowUserError('invalid_phabricator_uri'); |