Use application PHIDs in Phriction
Summary: Ref T2715. Moves Phriction to application PHIDs. Test Plan: Used `phid.query`; browsed Phriction. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2715 Differential Revision: https://secure.phabricator.com/D6553
This commit is contained in:
@@ -25,9 +25,10 @@ final class PhrictionDocumentController
|
||||
|
||||
require_celerity_resource('phriction-document-css');
|
||||
|
||||
$document = id(new PhrictionDocument())->loadOneWhere(
|
||||
'slug = %s',
|
||||
$slug);
|
||||
$document = id(new PhrictionDocumentQuery())
|
||||
->setViewer($user)
|
||||
->withSlugs(array($slug))
|
||||
->executeOne();
|
||||
|
||||
$version_note = null;
|
||||
$core_content = '';
|
||||
|
||||
Reference in New Issue
Block a user