diff options
Diffstat (limited to 'config/dnsblacklist/dnsblacklist.inc')
-rw-r--r-- | config/dnsblacklist/dnsblacklist.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/dnsblacklist/dnsblacklist.inc b/config/dnsblacklist/dnsblacklist.inc index 8b957776..4ef0a1d6 100644 --- a/config/dnsblacklist/dnsblacklist.inc +++ b/config/dnsblacklist/dnsblacklist.inc @@ -69,7 +69,6 @@ function phpservice_sync_package_php() function php_sync_package() { global $config; - phpservice_sync_package_php(); } @@ -119,17 +118,15 @@ function php_install_command() } -function deinstall_command() +function php_deinstall_command() { conf_mount_rw(); - config_lock(); $handle = popen("/usr/local/etc/rc.d/dnsblacklist.sh stop", "r"); unlink_if_exists("/usr/local/pkg/dnsblacklist.xml"); unlink_if_exists("/usr/local/pkg/dnsblacklist.inc"); - //unlink_if_exists("/usr/local/etc/rc.d/dnsblacklist.sh"); + exec("rm -R /usr/local/www/packages/dnsblacklist/blacklists"); exec("rm -R /usr/local/www/packages/dnsblacklist"); conf_mount_ro(); - config_unlock(); } ?>
\ No newline at end of file |