mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-21 20:23:18 +09:00
resolve issue with thold images not purging boost
This commit is contained in:
1 parent
68e9dc21da
commit
474485cb79
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user