diff options
author | BBcan177 <bbcan177@gmail.com> | 2014-12-18 23:09:40 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2014-12-18 23:09:40 -0500 |
commit | 802b110fa5ca09328fed5fa391d2f73d023bea6d (patch) | |
tree | 0616b366201177b4bf199875891420fabc0c2e8e /config/pfblockerng/pfblockerng.inc | |
parent | 249e28266b5ddd9002a07f4f1a36e613a8bb0da6 (diff) | |
download | pfsense-packages-802b110fa5ca09328fed5fa391d2f73d023bea6d.tar.gz pfsense-packages-802b110fa5ca09328fed5fa391d2f73d023bea6d.tar.bz2 pfsense-packages-802b110fa5ca09328fed5fa391d2f73d023bea6d.zip |
Mods to inc and log file
- Remove un-necessary code in de-install function of inc file.
- Remove check for logfile extension as other file extensions can now be
deleted in log browser.
Diffstat (limited to 'config/pfblockerng/pfblockerng.inc')
-rw-r--r-- | config/pfblockerng/pfblockerng.inc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc index 69baceeb..d59a8f3a 100644 --- a/config/pfblockerng/pfblockerng.inc +++ b/config/pfblockerng/pfblockerng.inc @@ -2279,8 +2279,6 @@ function pfblockerng_php_deinstall_command() { # Set these two variables to Disable pfBlockerNG on De-Install $pfb['save'] = TRUE; $pfb['install'] = TRUE; - pfb_global(); - sync_package_pfblockerng(); rmdir_recursive("/usr/local/pkg/pfblockerng"); rmdir_recursive("/usr/local/www/pfblockerng"); @@ -2320,15 +2318,6 @@ function pfblockerng_php_deinstall_command() { unset($config['installedpackages']['pfblockerngsouthamerica']); if (is_array($config['installedpackages']['pfblockerngtopspammers'])) unset($config['installedpackages']['pfblockerngtopspammers']); - - # Remove any pfBlockerNG Aliastable Files - $pfb_files = glob("{$pfb['aliasdir']}/pfB_*.txt"); - if (!empty($pfb_files)) { - foreach ($pfb_files as $pfb_list) { - $pfb_file = basename($pfb_list, ".txt"); - unlink_if_exists("{$pfb_file}.txt"); - } - } } # Remove Widget (code from Snort deinstall) |