summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-05-07 13:07:41 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-05-07 13:07:41 -0300
commiteafe02a20e9cc6698ed1d021c30af8a58b0ac181 (patch)
tree61d73a1c0589ba4b53310aa61573c52619807557 /etc/inc/pkg-utils.inc
parenta4f585c0ffb9eebaf0d7883a80e96f79de330136 (diff)
downloadpfsense-eafe02a20e9cc6698ed1d021c30af8a58b0ac181.zip
pfsense-eafe02a20e9cc6698ed1d021c30af8a58b0ac181.tar.gz
Remove global variables declared but not used
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 5689419..dc28a5c 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -304,7 +304,6 @@ function get_pkg_depends($pkg_name, $filetype = ".xml", $format = "files", $retu
function uninstall_package($pkg_name) {
global $config, $static_output;
- global $builder_package_install;
$id = get_package_id($pkg_name);
if ($id >= 0) {
@@ -340,7 +339,7 @@ function uninstall_package($pkg_name) {
* sync_package($pkg_name, $sync_depends = true, $show_message = false) Force a package to setup its configuration and rc.d files.
*/
function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
- global $config, $config_parsed;
+ global $config;
global $builder_package_install;
// If this code is being called by pfspkg_installer
@@ -701,7 +700,7 @@ function eval_once($toeval) {
}
function install_package_xml($pkg) {
- global $g, $config, $static_output, $pkg_interface, $config_parsed;
+ global $g, $config, $static_output, $pkg_interface;
if (($pkgid = get_package_id($pkg)) == -1) {
$static_output .= sprintf(gettext("The %s package is not installed.%sInstallation aborted."), $pkg, "\n\n");
OpenPOWER on IntegriCloud