summaryrefslogtreecommitdiffstats
path: root/extensions/PhabBugz/lib/WebService.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-12-18 22:39:42 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-19 06:24:02 +0100
commitc1c8739bb0a2eaf98ddaa2824abf4a048f209216 (patch)
tree0c9fb15c4b45ea9ac07afbce65504f83b843f9d8 /extensions/PhabBugz/lib/WebService.pm
parentbc8533f5e9e211f250b5bc3247797feac0f1303b (diff)
downloadbugzilla-c1c8739bb0a2eaf98ddaa2824abf4a048f209216.tar.gz
bugzilla-c1c8739bb0a2eaf98ddaa2824abf4a048f209216.tar.xz
Bug 1409957 - Create polling daemon to query Phabricator for recent transcations and update bug data according to revision changes
Diffstat (limited to 'extensions/PhabBugz/lib/WebService.pm')
-rw-r--r--extensions/PhabBugz/lib/WebService.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/PhabBugz/lib/WebService.pm b/extensions/PhabBugz/lib/WebService.pm
index 0ff2d46f9..f8c109612 100644
--- a/extensions/PhabBugz/lib/WebService.pm
+++ b/extensions/PhabBugz/lib/WebService.pm
@@ -268,7 +268,7 @@ sub obsolete_attachments {
my $bug = Bugzilla::Bug->check($bug_id);
my @attachments =
- grep { is_attachment_phab_revision($_, 1) } @{ $bug->attachments() };
+ grep { is_attachment_phab_revision($_) } @{ $bug->attachments() };
return { result => [] } if !@attachments;