diff options
author | dklawren <dklawren@users.noreply.github.com> | 2018-06-07 15:31:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 15:31:47 +0200 |
commit | 4413e39bdec98460efc9851f243d4555b9d24e26 (patch) | |
tree | a8fb1694f8ac51cb2b3c46b599f78efd03c1ddba /extensions/PhabBugz | |
parent | 35038ef2b5f6f1b783931797f34c5ce68dc3b8a9 (diff) | |
download | bugzilla-4413e39bdec98460efc9851f243d4555b9d24e26.tar.gz bugzilla-4413e39bdec98460efc9851f243d4555b9d24e26.tar.xz |
Bug 1467297 - variable masks earlier declaration in Feed.pm in Phabbugz extension
Diffstat (limited to 'extensions/PhabBugz')
-rw-r--r-- | extensions/PhabBugz/lib/Feed.pm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/extensions/PhabBugz/lib/Feed.pm b/extensions/PhabBugz/lib/Feed.pm index ff381ad26..b58c1ea4b 100644 --- a/extensions/PhabBugz/lib/Feed.pm +++ b/extensions/PhabBugz/lib/Feed.pm @@ -188,7 +188,7 @@ sub feed_query { my $revision = Bugzilla::Extension::PhabBugz::Revision->new_from_query( - { + { ids => [ int($revision_id) ] } ); @@ -337,7 +337,7 @@ sub process_revision_change { blessed $revision_phid ? $revision_phid : Bugzilla::Extension::PhabBugz::Revision->new_from_query({ phids => [ $revision_phid ] }); - + my $secure_revision = Bugzilla::Extension::PhabBugz::Project->new_from_query( { @@ -378,10 +378,6 @@ sub process_revision_change { # REVISION SECURITY POLICY - my $secure_revision = Bugzilla::Extension::PhabBugz::Project->new_from_query({ - name => 'secure-revision' - }); - # If bug is public then remove privacy policy if (!@{ $bug->groups_in }) { INFO('Bug is public so setting view/edit public'); @@ -808,7 +804,7 @@ sub get_group_members { } return if !@userids; - + # Look up the phab ids for these users my $phab_users = Bugzilla::Extension::PhabBugz::User->match( { |