Remove unused Cite::$isPagePreview flag

This is dead code we forgot to remove in I7088f25.

Bug: T238195
Change-Id: Iff1d3668beb9d530348ec9f90124774248e59407
This commit is contained in:
Thiemo Kreuz 2020-07-23 11:45:03 +02:00
parent f347863eab
commit 3de3bf4545

View file

@ -44,11 +44,6 @@ class Cite {
*/
public const BOOK_REF_PROPERTY = 'ref-extends';
/**
* @var bool
*/
private $isPagePreview;
/**
* @var bool
*/
@ -99,7 +94,6 @@ class Cite {
* @param Parser $parser
*/
public function __construct( Parser $parser ) {
$this->isPagePreview = $parser->getOptions()->getIsPreview();
$this->isSectionPreview = $parser->getOptions()->getIsSectionPreview();
$messageLocalizer = new ReferenceMessageLocalizer( $parser->getContentLanguage() );
$this->errorReporter = new ErrorReporter( $messageLocalizer );