diff options
author | Steffen Ritter | 2021-05-03 16:33:47 +0200 |
---|---|---|
committer | Steffen Ritter | 2021-05-03 16:33:47 +0200 |
commit | f59bb0d5953a1789ea3a012e6384fcf2c06ab705 (patch) | |
tree | bdefd7dbb99764f1f34acdfa4cc9e028468eb581 /modules-available | |
parent | [sysconfig] Layout clearfix (diff) | |
download | slx-admin-f59bb0d5953a1789ea3a012e6384fcf2c06ab705.tar.gz slx-admin-f59bb0d5953a1789ea3a012e6384fcf2c06ab705.tar.xz slx-admin-f59bb0d5953a1789ea3a012e6384fcf2c06ab705.zip |
[statistics] Remove useless line
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/statistics/pages/machine.inc.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules-available/statistics/pages/machine.inc.php b/modules-available/statistics/pages/machine.inc.php index ea545b16..87e8ad14 100644 --- a/modules-available/statistics/pages/machine.inc.php +++ b/modules-available/statistics/pages/machine.inc.php @@ -284,7 +284,6 @@ class SubPage 'duration' => '-', 'glyph' => 'user', ]; - $row['duration'] = floor($row['data'] / 86400) . 'd ' . gmdate('H:i', $row['data']); } elseif ($client['state'] === 'OFFLINE') { $spans['graph'] .= '<div style="background:#444;left:' . round(($client['lastseen'] - $cutoff) * $scale, 2) . '%;width:' . round(($NOW - $client['lastseen'] + 900) * $scale, 2) . '%"> </div>'; $spans['rows'][] = [ |