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:
702db53
)
Output tweak
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 23 Aug 2005 16:53:40 +0000
(16:53 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 23 Aug 2005 16:53:40 +0000
(16:53 +0000)
includes/Profiling.php
patch
|
blob
|
history
diff --git
a/includes/Profiling.php
b/includes/Profiling.php
index
634735c
..
605b101
100755
(executable)
--- a/
includes/Profiling.php
+++ b/
includes/Profiling.php
@@
-78,13
+78,13
@@
class Profiler {
} else {
//if ($wgDebugProfiling) {
if ($functionname == 'close') {
} else {
//if ($wgDebugProfiling) {
if ($functionname == 'close') {
- $message = "Profile section ended by close(): {$bit[0]}
\n
";
- wfDebug(
$message
);
+ $message = "Profile section ended by close(): {$bit[0]}";
+ wfDebug(
"$message\n"
);
$this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 );
}
elseif ($bit[0] != $functionname) {
$this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 );
}
elseif ($bit[0] != $functionname) {
- $message = "Profiling error: in({$bit[0]}), out($functionname)
\n
";
- wfDebug(
$message
);
+ $message = "Profiling error: in({$bit[0]}), out($functionname)";
+ wfDebug(
"$message\n"
);
$this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 );
}
//}
$this->mStack[] = array( $message, 0, '0 0', 0, '0 0', 0 );
}
//}