summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-06-08 14:07:48 -0400
committerRenato Botelho <renato@netgate.com>2016-06-08 19:03:52 -0400
commitd38ccd2bc5df7403a32ab0dc87741838c0f8c587 (patch)
tree70431b7c2975c48f6e06062a85ad1f880bfac3ca
parent7e1f301e21ebbf86b119a4b32ef72d2059cde961 (diff)
downloadpfsense-d38ccd2bc5df7403a32ab0dc87741838c0f8c587.zip
pfsense-d38ccd2bc5df7403a32ab0dc87741838c0f8c587.tar.gz
Remove redundant check since pkgcancel is never set
-rw-r--r--src/usr/local/www/pkg_mgr_install.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index 7016a58..b5ce5b0 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -245,11 +245,6 @@ if ($_POST) {
header("Location: pkg_mgr_installed.php");
return;
}
-
- if (isset($_POST['pkgcancel']) || (empty($_POST['id']) && $pkgmode != 'reinstallall')) {
- header("Location: pkg_mgr_installed.php");
- return;
- }
} else if ($_GET && !$_GET['id']) {
if (empty($_GET['pkg']) && ($pkgmode != 'reinstallall')) {
header("Location: pkg_mgr_installed.php");
OpenPOWER on IntegriCloud