diff options
author | Ermal <eri@pfsense.org> | 2012-07-09 17:21:29 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-09 17:21:29 +0000 |
commit | e0f6532be800b950a0771c8aa75f6c4a47c39813 (patch) | |
tree | 4137ef00401347d02dd94c60fe9cd56a98b17308 /config/snort | |
parent | 598c9cc110d165d254ca05efa7dfae8d267bf1d4 (diff) | |
download | pfsense-packages-e0f6532be800b950a0771c8aa75f6c4a47c39813.tar.gz pfsense-packages-e0f6532be800b950a0771c8aa75f6c4a47c39813.tar.bz2 pfsense-packages-e0f6532be800b950a0771c8aa75f6c4a47c39813.zip |
Remove unused functions
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort.inc | 29 | ||||
-rw-r--r-- | config/snort/snort_download_rules.php | 2 |
2 files changed, 1 insertions, 30 deletions
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<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';\n</script>"; -} - -/* unhide progress bar */ -function unhide_progress_bar_status() { - global $snort_filename, $snort_filename_md5, $console_mode; - - ob_flush(); - if(!$console_mode) - echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='visible';\n</script>"; -} - -/* 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<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';\n</script>"; ?> |