Skip to content

Commit

Permalink
QA: More unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Dec 24, 2024
1 parent f5ce932 commit d7f25b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,7 @@ function create_data_query_filter() {
'snmp_query_id' => array(
'method' => 'drop_array',
'friendly_name' => __('Data Query'),
'filter' => FILTER_VALIDATE_INT,
'filter_options' => array('options' => 'sanitize_search_string'),
'filter' => FILTER_VALIDATE_INT,
'default' => '-1',
'pageset' => true,
'array' => $data_queries,
Expand Down Expand Up @@ -1530,7 +1529,6 @@ function create_snmp_agent_cache_filter() {
)
)
);
get_filter_request_var('mib', FILTER_CALLBACK, array('options' => 'sanitize_search_string'));
}

function process_sanitize_draw_snmp_agent_cache_filter($render = false) {
Expand Down Expand Up @@ -1736,7 +1734,6 @@ function create_snmp_agent_events_filter() {
)
)
);
get_filter_request_var('mib', FILTER_CALLBACK, array('options' => 'sanitize_search_string'));
}

function process_sanitize_draw_snmp_agent_events_filter($render = false) {
Expand Down

0 comments on commit d7f25b4

Please sign in to comment.