From: Domas Mituzas Date: Tue, 25 Mar 2008 17:45:35 +0000 (+0000) Subject: make it static :) X-Git-Tag: 1.31.0-rc.0~48818 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=6fcbc97c4e386bd7cfa9f4d8ac41484554b5dc79;p=lhc%2Fweb%2Fwiklou.git make it static :) --- diff --git a/includes/ProfilerSimpleText.php b/includes/ProfilerSimpleText.php index d206feeae3..e1cd921036 100644 --- a/includes/ProfilerSimpleText.php +++ b/includes/ProfilerSimpleText.php @@ -20,7 +20,7 @@ class ProfilerSimpleText extends ProfilerSimple { else print "-->\n"; } /* dense is good */ - function sort($a,$b) { return $a['real']<$b['real']; /* sort descending by time elapsed */ } - function format($item,$key) { printf("%3.6f %6d - %s\n",$item['real'],$item['count'], $key); } + static function sort($a,$b) { return $a['real']<$b['real']; /* sort descending by time elapsed */ } + static function format($item,$key) { printf("%3.6f %6d - %s\n",$item['real'],$item['count'], $key); } } ?>