Debugging code left in, probably needs an option of some kind.
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 21 Sep 2008 08:10:48 +0000 (08:10 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 21 Sep 2008 08:10:48 +0000 (08:10 +0000)
includes/db/Database.php

index 83cf368..0bd77ea 100644 (file)
@@ -2510,12 +2510,12 @@ border=\"0\" ALT=\"Google\"></A>
 
                $text = str_replace( '$1', $this->error, $noconnect );
 
-               global $wgShowExceptionDetails;
+               /*
                if ( $GLOBALS['wgShowExceptionDetails'] ) {
                        $text .= '</p><p>Backtrace:</p><p>' . 
                                nl2br( htmlspecialchars( $this->getTraceAsString() ) ) . 
                                "</p>\n";
-               }
+               }*/
 
                if($wgUseFileCache) {
                        if($wgTitle) {