From 81ea2b1fe4a0fba0469bdb007fcc7b9f93efb284 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 28 Nov 2019 15:29:18 +0100 Subject: [PATCH] Internal: Add comment on suspected dead code --- application/itopwebpage.class.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index 8ab3c516c..628291d14 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -1434,9 +1434,12 @@ EOF; { if ($this->GetOutputFormat() == 'pdf' && $this->IsOutputFormatAvailable('pdf')) { + // Note: Apparently this was a demand from ITOMIG a while back, so it's not "dead code" per say. + // The last trace we got is in R-007989. Do not remove this without checking before with the concerned parties if it is still used! if (@is_readable(APPROOT.'lib/MPDF/mpdf.php')) { require_once(APPROOT.'lib/MPDF/mpdf.php'); + /** @noinspection PhpUndefinedClassInspection Check above comment */ $oMPDF = new mPDF('c'); $oMPDF->mirroMargins = false; if ($this->a_base['href'] != '')