From 449556ed8309eeadc50c577f614e869a92a3c082 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 22 Nov 2015 13:15:40 -0800 Subject: [PATCH] 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 --- src/applications/phriction/storage/PhrictionContent.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/phriction/storage/PhrictionContent.php b/src/applications/phriction/storage/PhrictionContent.php index ae01970c95..55c47c91e0 100644 --- a/src/applications/phriction/storage/PhrictionContent.php +++ b/src/applications/phriction/storage/PhrictionContent.php @@ -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,