Skip to content

Commit

Permalink
Fixing #5489 --preserve option not handled
Browse files Browse the repository at this point in the history
remove_graphs.php does not handle "--preserve" option
  • Loading branch information
TheWitness committed Sep 23, 2023
1 parent c20f3ce commit 99f136d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -92,6 +92,7 @@ Cacti CHANGELOG
1.2.26
-issue#5481: Attempting to edit a Data Query that does not exist throws warnings and not an GUI error
-issue#5483: cacti 1.2.25 ubuntu server 22.04.3 php8.1 add device error
-issue#5489: remove_graphs.php does not handle "--preserve" option
-issue#5493: Multi select drop down list box not rendered correctly in Chrome and Edge

1.2.25
Expand Down
8 changes: 8 additions & 0 deletions cli/remove_graphs.php 100755 → 100644
Expand Up @@ -120,6 +120,14 @@

$host_template_ids = $value;

break;
case 'preserve':
$preserve = true;

break;
case 'all':
$all = true;

break;
case 'graph-id':
if (!is_array($value)) {
Expand Down

0 comments on commit 99f136d

Please sign in to comment.