From 474485cb7970e10830cf76cc6a63ac89fbb28eec Mon Sep 17 00:00:00 2001 From: cigamit Date: Tue, 20 Sep 2016 19:18:44 -0500 Subject: [PATCH] resolve issue with thold images not purging boost --- lib/rrd.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rrd.php b/lib/rrd.php index 8952c0a46b..fd5924a6fb 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -1125,7 +1125,8 @@ function rrdtool_function_graph($local_graph_id, $rra_id, $graph_data_array, $rr } /* check the boost image cache and if we find a live file there return it instead */ - if (!isset($graph_data_array['export_csv']) && !isset($graph_data_array['export_realtime']) && !isset($graph_data_array['disable_cache'])) { + if (!isset($graph_data_array['export_csv']) && + !isset($graph_data_array['export_realtime']) && (isset($graph_data_array['disable_cache']) && $graph_data_array['disable_cache'] == false)) { $graph_data = boost_graph_cache_check($local_graph_id, $rra_id, $rrdtool_pipe, $graph_data_array, false); if ($graph_data != false) { return $graph_data;