dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2eaeae
)
Disable debug comments if debug comments are disabled
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 10 Jul 2003 04:54:22 +0000
(
04:54
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 10 Jul 2003 04:54:22 +0000
(
04:54
+0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
19efb75
..
b6571ff
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-130,9
+130,9
@@
function wfMungeToUtf8($string) {
function wfDebug( $text, $logonly = false )
{
- global $wgOut, $wgDebugLogFile;
+ global $wgOut, $wgDebugLogFile
, $wgDebugComments
;
- if (
!
$logonly ) {
+ if (
$wgDebugComments && !
$logonly ) {
$wgOut->debug( $text );
}
if ( "" != $wgDebugLogFile ) {