From 0f2022577ff142359413c2c10af219b399b3e12a Mon Sep 17 00:00:00 2001 From: dklawren Date: Tue, 13 Feb 2018 10:25:54 -0500 Subject: Bug 1434438 - Refactor Revision.pm to use Moo for cleaner type checking --- extensions/PhabBugz/lib/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/PhabBugz/lib/Feed.pm') diff --git a/extensions/PhabBugz/lib/Feed.pm b/extensions/PhabBugz/lib/Feed.pm index 670bc5d24..f91d108ec 100644 --- a/extensions/PhabBugz/lib/Feed.pm +++ b/extensions/PhabBugz/lib/Feed.pm @@ -124,7 +124,7 @@ sub process_revision_change { my ($self, $revision_phid, $story_text) = @_; # Load the revision from Phabricator - my $revision = Bugzilla::Extension::PhabBugz::Revision->new({ phids => [ $revision_phid ] }); + my $revision = Bugzilla::Extension::PhabBugz::Revision->new_from_query({ phids => [ $revision_phid ] }); # NO BUG ID -- cgit v1.2.3-24-g4f1b