summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-08 19:53:39 +0100
committerGitHub <noreply@github.com>2017-03-08 19:53:39 +0100
commite1ac4a841725a171ece9af45d4d86be30640cb63 (patch)
treeba5917c04c4751490e15f3dcf20e270e7c38281d /src/usr/local
parentc35d12948f9c9926f3032fd084b029c8b54d1a21 (diff)
downloadpfsense-e1ac4a841725a171ece9af45d4d86be30640cb63.zip
pfsense-e1ac4a841725a171ece9af45d4d86be30640cb63.tar.gz
Remove duplicate pfSenseHeader() function
Sort includes while here.
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/pkg_edit.php10
1 files changed, 3 insertions, 7 deletions
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']);
OpenPOWER on IntegriCloud