From: Tim Starling
Date: Sun, 21 Sep 2008 08:10:48 +0000 (+0000)
Subject: Debugging code left in, probably needs an option of some kind.
X-Git-Tag: 1.31.0-rc.0~45185
X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=45308adee286f1bb5bf17c604cfbf18a4399de3d;p=lhc%2Fweb%2Fwiklou.git
Debugging code left in, probably needs an option of some kind.
---
diff --git a/includes/db/Database.php b/includes/db/Database.php
index 83cf368fa6..0bd77eabda 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -2510,12 +2510,12 @@ border=\"0\" ALT=\"Google\">
$text = str_replace( '$1', $this->error, $noconnect );
- global $wgShowExceptionDetails;
+ /*
if ( $GLOBALS['wgShowExceptionDetails'] ) {
$text .= '
Backtrace:
' .
nl2br( htmlspecialchars( $this->getTraceAsString() ) ) .
"
\n";
- }
+ }*/
if($wgUseFileCache) {
if($wgTitle) {