r41090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41089‎ | r41090 | r41091 >
Date:08:10, 21 September 2008
Author:tstarling
Status:old
Tags:
Comment:
Debugging code left in, probably needs an option of some kind.
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -2510,12 +2510,12 @@
25112511
25122512 $text = str_replace( '$1', $this->error, $noconnect );
25132513
2514 - global $wgShowExceptionDetails;
 2514+ /*
25152515 if ( $GLOBALS['wgShowExceptionDetails'] ) {
25162516 $text .= '</p><p>Backtrace:</p><p>' .
25172517 nl2br( htmlspecialchars( $this->getTraceAsString() ) ) .
25182518 "</p>\n";
2519 - }
 2519+ }*/
25202520
25212521 if($wgUseFileCache) {
25222522 if($wgTitle) {