resolve issue with thold images not purging boost

This commit is contained in:
cigamit committed 2016-09-20 19:18:44 -05:00
1 parent 68e9dc21da
commit 474485cb79
1 file changed
+2 -1
+2 -1
View File
@@ -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;