mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Make Phriction edits show in the feed.
Summary: Add a WIKI block to the switch in PhabricatorObjectHandleData->loadObjects(). Test Plan: Went to /feed/ and saw my wiki edit stories. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4180
This commit is contained in:
parent
7b09b4d7e7
commit
07401cd99b
1 changed files with 9 additions and 0 deletions
|
@ -86,6 +86,15 @@ final class PhabricatorObjectHandleData {
|
|||
$objects[$revision->getPHID()] = $revision;
|
||||
}
|
||||
break;
|
||||
case PhabricatorPHIDConstants::PHID_TYPE_WIKI:
|
||||
$document_dao = new PhrictionDocument();
|
||||
$documents = $document_dao->loadAllWhere(
|
||||
'phid IN (%Ls)',
|
||||
$phids);
|
||||
foreach ($documents as $document) {
|
||||
$objects[$document->getPHID()] = $document;
|
||||
}
|
||||
break;
|
||||
case PhabricatorPHIDConstants::PHID_TYPE_QUES:
|
||||
$questions = id(new PonderQuestionQuery())
|
||||
->setViewer($this->viewer)
|
||||
|
|
Loading…
Reference in a new issue