mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-02 13:18:12 +09:00
Merge branch '1.2.x' of https://github.com/Cacti/cacti into 1.2.x
This commit is contained in:
commit
37016f9cf2
1 file changed
-8
@@ -46,14 +46,6 @@ function get_rrdfile_names($thread_id = 1, $max_threads = 1) {
|
||||
} elseif (sizeof($newrows)) {
|
||||
return $newrows[$thread_id];
|
||||
} else {
|
||||
$items_total = db_fetch_cell('SELECT COUNT(*)
|
||||
FROM data_template_data AS dtd
|
||||
LEFT JOIN poller_item AS pi
|
||||
ON pi.local_data_id = dtd.local_data_id
|
||||
WHERE pi.local_data_id IS NOT NULL
|
||||
AND data_source_path != ""
|
||||
AND dtd.local_data_id != 0');
|
||||
|
||||
$dsses_total = db_fetch_cell('SELECT SUM(rrd_num)
|
||||
FROM data_template_data AS dtd
|
||||
LEFT JOIN poller_item AS pi
|
||||
|
||||
Reference in new issue
Block a user