From d85e29b74bda133a0704bd7ee9fb493dc7095268 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 8 Jun 2016 14:07:48 -0400 Subject: Remove redundant check since pkgcancel is never set --- src/usr/local/www/pkg_mgr_install.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/usr') 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"); -- cgit v1.1