Hide the realtime statistic group view

This commit is contained in:
fermin831 2018-04-09 19:47:14 +02:00
parent 6310b499be
commit 4e1f57a43a
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ function groupview_get_all_data ($id_user = false, $user_strict = false, $acltag
}
}
}
else if (($config["realtimestats"] == 0)) {
else if (false) { //FIXME: The cached group view is wasted. Avoid to reach this code.
$group_stat = db_get_all_rows_sql ("SELECT
SUM(ta.normal_count) as normal, SUM(ta.critical_count) as critical,
@ -707,7 +707,7 @@ function groupview_get_data ($id_user = false, $user_strict = false, $acltags, $
}
}
}
else if (($config["realtimestats"] == 0)) {
else if (false) { //FIXME: The cached group view is wasted. Avoid to reach this code.
$group_stat = db_get_all_rows_sql ("SELECT
SUM(ta.normal_count) as normal, SUM(ta.critical_count) as critical,