From 29e3014f516da8888a762e0a253467675113208f Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Fri, 3 Jul 2015 14:11:45 -0400 Subject: Remove unused old variables. --- config/snort/snort.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/snort/snort.inc b/config/snort/snort.inc index bb5ff792..82692d67 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -43,16 +43,13 @@ require("/usr/local/pkg/snort/snort_defs.inc"); ini_set("memory_limit", "384M"); // Explicitly declare this as global so it works through function call includes -global $g, $config, $rebuild_rules, $pfSense_snort_version; +global $g, $config, $rebuild_rules; // Grab the Snort binary version programmatically, but if that fails use a safe default $snortver = array(); $snortbindir = SNORT_PBI_BINDIR; exec("{$snortbindir}snort -V 2>&1 |/usr/bin/grep Version | /usr/bin/cut -c20-26", $snortver); -/* get installed package version for display */ -$snort_package_version = "Snort {$config['installedpackages']['package'][get_pkg_id("snort")]['version']}"; - /* Rebuild Rules Flag -- if "true", rebuild enforcing rules and flowbit-rules files */ $rebuild_rules = false; -- cgit v1.2.3