r86375 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r86374
|
r86375
|
r86376
>
Date:
06:26, 19 April 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Removed check whether memory_get_usage() exists; per manual it is always included since PHP 5.2.1 even without --enable-memory-limit
Modified paths:
/trunk/phase3/includes/profiler/Profiler.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/profiler/Profiler.php
—
—
@@ -46,13 +46,6 @@
47
47
Profiler::instance()->close();
48
48
}
49
49
50
-if (!function_exists('memory_get_usage')) {
51
- # Old PHP or --enable-memory-limit not compiled in
52
- function memory_get_usage() {
53
- return 0;
54
- }
55
-}
56
-
57
50
/**
58
51
* @ingroup Profiler
59
52
* @todo document
Status & tagging log
23:39, 12 May 2011
Hashar
(
talk
|
contribs
)
changed the
status
of r86375
[
removed:
new
added:
ok]