summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 20:43:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 20:43:21 +0000
commit87294f24e42e5e173eef3ff31e2b989f28a89b90 (patch)
tree254b7a4be05cab8e781088f8d697494186bcc37c /usr
parentb87364eb25794fcb2314cb6ce9676616f95e73ee (diff)
downloadpfsense-87294f24e42e5e173eef3ff31e2b989f28a89b90.zip
pfsense-87294f24e42e5e173eef3ff31e2b989f28a89b90.tar.gz
Correctly delete package
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
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.";
OpenPOWER on IntegriCloud