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:
3ce85d9
)
$functionname not defined in this context, replacing with hardcoded "-setup" array...
author
Nick Jenkins
<nickj@users.mediawiki.org>
Wed, 29 Nov 2006 12:32:43 +0000
(12:32 +0000)
committer
Nick Jenkins
<nickj@users.mediawiki.org>
Wed, 29 Nov 2006 12:32:43 +0000
(12:32 +0000)
includes/ProfilerSimple.php
patch
|
blob
|
history
diff --git
a/includes/ProfilerSimple.php
b/includes/ProfilerSimple.php
index
eb2985c
..
e69bfc4
100644
(file)
--- a/
includes/ProfilerSimple.php
+++ b/
includes/ProfilerSimple.php
@@
-25,7
+25,7
@@
class ProfilerSimple extends Profiler {
$entry =& $this->mCollated["-setup"];
if (!is_array($entry)) {
$entry = array('cpu'=> 0.0, 'cpu_sq' => 0.0, 'real' => 0.0, 'real_sq' => 0.0, 'count' => 0);
- $this->mCollated[
$functionname
] =& $entry;
+ $this->mCollated[
"-setup"
] =& $entry;
}
$entry['cpu'] += $elapsedcpu;