mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00:00
remove useless naming in query
This commit is contained in:
parent
e0ed244962
commit
10ffec61bf
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ try {
|
||||||
|
|
||||||
//Online users
|
//Online users
|
||||||
$nbusers = 0;
|
$nbusers = 0;
|
||||||
if (($stmt = $dbh->query("SELECT count(id) AS users FROM {$table_prefix}user WHERE lastaccess > $graph_period")) != false) {
|
if (($stmt = $dbh->query("SELECT count(id) FROM {$table_prefix}user WHERE lastaccess > $graph_period")) != false) {
|
||||||
$nbusers = $stmt->fetchColumn();
|
$nbusers = $stmt->fetchColumn();
|
||||||
}
|
}
|
||||||
echo "users_online.value $nbusers\n";
|
echo "users_online.value $nbusers\n";
|
Loading…
Add table
Add a link
Reference in a new issue