diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 20:43:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-25 20:43:21 +0000 |
commit | 87294f24e42e5e173eef3ff31e2b989f28a89b90 (patch) | |
tree | 254b7a4be05cab8e781088f8d697494186bcc37c /usr | |
parent | b87364eb25794fcb2314cb6ce9676616f95e73ee (diff) | |
download | pfsense-87294f24e42e5e173eef3ff31e2b989f28a89b90.zip pfsense-87294f24e42e5e173eef3ff31e2b989f28a89b90.tar.gz |
Correctly delete package
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 9366d1c..1cd5d7c 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -120,8 +120,6 @@ conf_mount_rw(); switch($_GET['mode']) { case "delete": $id = get_pkg_id($_GET['pkg']); - $todel = substr(reverse_strrchr($config['installedpackages']['package'][$id]['depends_on_package'], "."), 0, -1); - delete_package($todel, htmlspecialchars($_GET['pkg'])); delete_package_xml(htmlspecialchars($_GET['pkg'])); update_status("Package deleted."); $static_output .= "\nPackage deleted."; |