change is_file to rrdtool_check_rrd_exists. (#8169)

This commit is contained in:
Leandro Maciel
2018-01-29 09:52:22 -06:00
committed by Tony Murray
parent 20335bce5d
commit 06aa3b23f2
37 changed files with 37 additions and 37 deletions
@@ -20,7 +20,7 @@ if (isset($vars['database'])) {
$rrd_filename = rrd_name($device['hostname'], $rrd_name_array);
if (is_file($rrd_filename)) {
if (rrdtool_check_rrd_exists($rrd_filename)) {
$rrd_list = array(
array(
'filename' => $rrd_filename,