mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +01:00
Make rendered table of contents private in Phriction
Summary: Oops, I missed this -- when properties are `protected`, Lisk assumes they database properties which should be stored and read from the database. To make Lisk ignore a property, make it `private`. Test Plan: Should fix this: {F990757} Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14538
This commit is contained in:
parent
bf227f77a5
commit
449556ed83
1 changed files with 2 additions and 1 deletions
|
@ -17,11 +17,12 @@ final class PhrictionContent extends PhrictionDAO
|
|||
protected $slug;
|
||||
protected $content;
|
||||
protected $description;
|
||||
protected $renderedTableOfContents;
|
||||
|
||||
protected $changeType;
|
||||
protected $changeRef;
|
||||
|
||||
private $renderedTableOfContents;
|
||||
|
||||
public function renderContent(PhabricatorUser $viewer) {
|
||||
return PhabricatorMarkupEngine::renderOneObject(
|
||||
$this,
|
||||
|
|
Loading…
Reference in a new issue