From e0f6532be800b950a0771c8aa75f6c4a47c39813 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 9 Jul 2012 17:21:29 +0000 Subject: Remove unused functions --- config/snort/snort.inc | 29 ----------------------------- config/snort/snort_download_rules.php | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 4bcbd3ae..3cb3cf26 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1961,33 +1961,4 @@ EOD; return $snort_conf_text; } -/* hide progress bar */ -function hide_progress_bar_status() { - global $snort_filename, $snort_filename_md5, $console_mode; - - ob_flush(); - if(!$console_mode) - echo "\n"; -} - -/* unhide progress bar */ -function unhide_progress_bar_status() { - global $snort_filename, $snort_filename_md5, $console_mode; - - ob_flush(); - if(!$console_mode) - echo "\n"; -} - -/* update both top and bottom text box during an operation */ -function update_all_status($status) { - global $snort_filename, $snort_filename_md5, $console_mode; - - ob_flush(); - if(!$console_mode) { - update_status($status); - update_output_window($status); - } -} - ?> diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php index 56bc2ebd..d5a0ae8f 100644 --- a/config/snort/snort_download_rules.php +++ b/config/snort/snort_download_rules.php @@ -82,6 +82,6 @@ $snort_gui_include = true; include("/usr/local/pkg/snort/snort_check_for_rule_updates.php"); /* hide progress bar and lets end this party */ -hide_progress_bar_status(); +echo "\n"; ?> -- cgit v1.2.3