summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
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:02:26 -0400
commitd85e29b74bda133a0704bd7ee9fb493dc7095268 (patch)
treeb342851aee7cfdcbb44029ad5ddae00383f7c6e1 /src/usr/local/www/pkg_mgr_install.php
parent56218db2d33edb4280c88f1688c07e9d02ce6546 (diff)
downloadpfsense-d85e29b74bda133a0704bd7ee9fb493dc7095268.zip
pfsense-d85e29b74bda133a0704bd7ee9fb493dc7095268.tar.gz
Remove redundant check since pkgcancel is never set
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-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