Skip to content

Commit 1decafc

Browse files
author
thom
committed
Use formatBytes for MemUsage (#3651)
1 parent 773b03f commit 1decafc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/tools_monitor.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ function showMemUsage () {
184184

185185
foreach($data as $key => $value) {
186186
if ($key != '') {
187-
$memory = number_format($value / 1048576);
187+
$memory = $app->functions->formatBytes($value);
188188
$html .= '<tr>
189189
<td>' . $key . ':</td>
190-
<td>' . $memory . ' MB</td>
190+
<td>' . $memory . '</td>
191191
</tr>';
192192
}
193193
}

0 commit comments

Comments
 (0)