1
0
Fork 0
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:
epriestley 2015-11-22 13:15:40 -08:00
parent bf227f77a5
commit 449556ed83

View file

@ -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,