diff --git a/CHANGELOG.md b/CHANGELOG.md index d20534c86..0b4e2814a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,6 @@ - Improved cookie management 🍪 [\#1171](https://github.com/torrentpier/torrentpier/pull/1171) ([belomaxorka](https://github.com/belomaxorka)) - Replaced strpos() with simplified realization [\#1172](https://github.com/torrentpier/torrentpier/pull/1172) ([belomaxorka](https://github.com/belomaxorka)) - Replaced some 'switch' with the 'match' expression [\#1173](https://github.com/torrentpier/torrentpier/pull/1173) ([belomaxorka](https://github.com/belomaxorka)) -- Replaced some time() with TIMENOW constant [\#1174](https://github.com/torrentpier/torrentpier/pull/1174) ([belomaxorka](https://github.com/belomaxorka)) - Feature to ban specific torrent clients [\#1175](https://github.com/torrentpier/torrentpier/pull/1175) ([kovalensky](https://github.com/kovalensky)) - Code re-formatting [\#1176](https://github.com/torrentpier/torrentpier/pull/1176) ([kovalensky](https://github.com/kovalensky)) - Removed useless width for BBCode buttons [\#1180](https://github.com/torrentpier/torrentpier/pull/1180) ([belomaxorka](https://github.com/belomaxorka)) diff --git a/admin/stats/tr_stats.php b/admin/stats/tr_stats.php index ba0951a83..d45ed4b2d 100644 --- a/admin/stats/tr_stats.php +++ b/admin/stats/tr_stats.php @@ -38,14 +38,6 @@ foreach ($sql as $i => $query) { echo ''; echo '
'; -if ($l = sys('la')) { - $l = explode(' ', $l); - for ($i = 0; $i < 3; $i++) { - $l[$i] = round($l[$i], 1); - } - echo "\n\nloadavg: $l[0] $l[1] $l[2]\n\n"; -} - echo 'gen time: ' . sprintf('%.3f', array_sum(explode(' ', microtime())) - TIMESTART) . " sec\n"; echo '
Simple stats for clients are being cached for one hour.
' : ''; echo ''; -if ($l = sys('la')) { - $l = explode(' ', $l); - for ($i = 0; $i < 3; $i++) { - $l[$i] = round($l[$i], 1); - } - echo "\n\nloadavg: $l[0] $l[1] $l[2]\n\n"; -} - echo 'gen time: ' . sprintf('%.3f', array_sum(explode(' ', microtime())) - TIMESTART) . " sec\n"; echo '