Use autoloader to load parsedown
authorTim Düsterhus <tim@bastelstu.be>
Thu, 2 Jun 2016 22:17:07 +0000 (00:17 +0200)
committerTim Düsterhus <tim@bastelstu.be>
Thu, 2 Jun 2016 22:17:07 +0000 (00:17 +0200)
see 2524a9bb37d7ef41b3649508eb03a9b66fd4bdc4

files/lib/system/exporter/NodeBB0xRedisExporter.class.php

index 7ea8c9459740698f60d62cafc9d8bcbac8371c69..bb78cf156af4743bfd751f1ebd32309d73512da7 100644 (file)
@@ -543,7 +543,6 @@ class NodeBB0xRedisExporter extends AbstractExporter {
                static $urlRegex = null;
                
                if ($parsedown === null) {
-                       require_once(WCF_DIR.'lib/system/api/parsedown/Parsedown.php');
                        $parsedown = new \Parsedown();
                        
                        $codeRegex = new Regex('<pre><code class="language-([a-z]+)">');