Skip to content

Commit

Permalink
Revert "Fixing #5434 - Data Source Debug Lingers"
Browse files Browse the repository at this point in the history
This reverts commit f41dd41.
  • Loading branch information
TheWitness committed Oct 14, 2023
1 parent f41dd41 commit 404f69d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Cacti CHANGELOG
-issue#5502: Errors related to php 8.3 and page generation including a checkbox
-issue#5503: Note, we could not process all your actions. Details are below
-issue#5514: DS Stats issues warnings when the RRDfile has not been initialized
-issue#5434: When deleting a single Data Source the table data_debug is not purged

1.2.25
-security#GHSA-77rf-774j-6h3p: Protect against Insecure deserialization of filter data
Expand Down
3 changes: 0 additions & 3 deletions lib/api_data_source.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ function api_data_source_remove_multi($local_data_ids) {
db_execute('DELETE FROM data_local
WHERE id IN (' . $ids_to_delete . ')');

db_execute('DELETE FROM data_debug
WHERE datasource IN (' . $ids_to_delete . ')');

/* dsstats */
db_execute('DELETE FROM data_source_stats_daily
WHERE local_data_id IN(' . $ids_to_delete . ')');
Expand Down

0 comments on commit 404f69d

Please sign in to comment.