diff options
Diffstat (limited to 'extensions/PhabBugz/lib')
-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( { |