diff --git a/graphs_new.php b/graphs_new.php index 73111a8e22..4048a753f2 100644 --- a/graphs_new.php +++ b/graphs_new.php @@ -36,11 +36,6 @@ switch ($_REQUEST["action"]) { case 'save': form_save(); - break; - case 'query_remove': - host_remove_query(); - - header("Location: graphs_new.php?host_id=" . $_GET["host_id"]); break; case 'query_reload': host_reload_query(); @@ -122,11 +117,6 @@ function host_reload_query() { data_query($_GET["host_id"], $_GET["id"]); } -function host_remove_query() { - db_execute("delete from host_snmp_cache where snmp_query_id=" . $_GET["id"] . " and host_id=" . $_GET["host_id"]); - db_execute("delete from host_snmp_query where snmp_query_id=" . $_GET["id"] . " and host_id=" . $_GET["host_id"]); -} - /* ------------------- New Graph Functions ------------------- */ @@ -542,71 +532,62 @@ function graphs() {