From e1ac4a841725a171ece9af45d4d86be30640cb63 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 8 Mar 2017 19:53:39 +0100 Subject: Remove duplicate pfSenseHeader() function Sort includes while here. --- src/usr/local/www/pkg_edit.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/usr/local/www/pkg_edit.php') diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php index 559645b..747fbc6 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -28,16 +28,12 @@ ini_set('max_execution_time', '0'); -require_once("guiconfig.inc"); -require_once("functions.inc"); require_once("filter.inc"); +require_once("functions.inc"); +require_once("guiconfig.inc"); require_once("shaper.inc"); require_once("pkg-utils.inc"); - -/* dummy stubs needed by some code that was MFC'd */ -function pfSenseHeader($location) { - header("Location: " . $location); -} +require_once("pfsense-utils.inc"); $xml = htmlspecialchars($_REQUEST['xml']); -- cgit v1.1