summaryrefslogtreecommitdiffstats
path: root/extensions/PhabBugz/lib/WebService.pm
diff options
context:
space:
mode:
authordklawren <dklawren@users.noreply.github.com>2017-11-29 19:54:22 +0100
committerDylan William Hardison <dylan@hardison.net>2017-11-29 19:54:22 +0100
commit7da8e374e0c96e10077690935e829b0c04fc82f4 (patch)
tree44a92ccdee16c45badd35e9c986294fd40beec12 /extensions/PhabBugz/lib/WebService.pm
parent64ce7cb12deee5f394a869d9ec6b5e46cd2679f0 (diff)
downloadbugzilla-7da8e374e0c96e10077690935e829b0c04fc82f4.tar.gz
bugzilla-7da8e374e0c96e10077690935e829b0c04fc82f4.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 738077880..b552e5656 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;