diff options
author | Renato Botelho <renato@netgate.com> | 2016-06-08 14:07:48 -0400 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-06-08 19:03:52 -0400 |
commit | d38ccd2bc5df7403a32ab0dc87741838c0f8c587 (patch) | |
tree | 70431b7c2975c48f6e06062a85ad1f880bfac3ca /src/usr/local/www/pkg_mgr_install.php | |
parent | 7e1f301e21ebbf86b119a4b32ef72d2059cde961 (diff) | |
download | pfsense-d38ccd2bc5df7403a32ab0dc87741838c0f8c587.zip pfsense-d38ccd2bc5df7403a32ab0dc87741838c0f8c587.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.php | 5 |
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"); |