Remove references to deleted $this->debug in installer
authorAlbert221 <w.albert221@gmail.com>
Fri, 8 Dec 2017 23:33:01 +0000 (00:33 +0100)
committerAlbert221 <w.albert221@gmail.com>
Fri, 8 Dec 2017 23:33:01 +0000 (00:33 +0100)
Bug: T182210
Change-Id: Id4c574ae08f8f3bccc33e71781b3f66fa4430040

includes/installer/Installer.php

index 46978e1..2bb15b8 100644 (file)
@@ -693,10 +693,6 @@ abstract class Installer {
                        ] );
                } catch ( MediaWiki\Services\ServiceDisabledException $e ) {
                        $html = '<!--DB access attempted during parse-->  ' . htmlspecialchars( $text );
-
-                       if ( !empty( $this->debug ) ) {
-                               $html .= "<!--\n" . $e->getTraceAsString() . "\n-->";
-                       }
                }
 
                return $html;