Remove AMP relict
authorMarcel Werk <burntime@woltlab.com>
Fri, 14 Apr 2023 12:35:37 +0000 (14:35 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 14 Apr 2023 12:35:37 +0000 (14:35 +0200)
wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodePre.class.php

index d6454f3b2092e51c2188ff46652035901fb86c8c..6b342fd04f1bfeaebbef49ed32fa98997a12b020 100644 (file)
@@ -7,7 +7,6 @@ use wcf\system\event\EventHandler;
 use wcf\system\html\node\AbstractHtmlNodeProcessor;
 use wcf\system\Regex;
 use wcf\system\WCF;
-use wcf\util\StringUtil;
 
 /**
  * Processes code listings.
@@ -149,7 +148,6 @@ class HtmlOutputNodePre extends AbstractHtmlOutputNode
             'filename' => $file,
             'title' => $title,
             'lines' => \count($splitContent),
-            'isAmp' => $data['isAmp'],
         ]);
 
         return WCF::getTPL()->fetch('codeMetaCode');