1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

fix query for doorkeeper

Summary: Got exception in daemon logs.

Test Plan: rerun tasks, not exception.

Reviewers: btrahan, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8905
This commit is contained in:
Aviv Eyal 2014-04-29 15:11:53 -07:00 committed by epriestley
parent 7ed28dacb5
commit 31580f19d9

View file

@ -47,6 +47,7 @@ final class DiffusionDoorkeeperCommitFeedStoryPublisher
public function willPublishStory($commit) {
$requests = id(new DiffusionCommitQuery())
->setViewer($this->getViewer())
->withPHIDs(array($commit->getPHID()))
->needAuditRequests(true)
->executeOne()