diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-10 17:16:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-10 17:16:29 +0000 |
commit | f8aa7e0dd29e0588b7f4a066d3698d9db10cecf9 (patch) | |
tree | 60301982bfe7456858ea863fb351eb248aad27da /etc | |
parent | 817c47299054d181f12665845330d9fbb5b4d51b (diff) | |
download | pfsense-f8aa7e0dd29e0588b7f4a066d3698d9db10cecf9.zip pfsense-f8aa7e0dd29e0588b7f4a066d3698d9db10cecf9.tar.gz |
$config needs to be a global item
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 32ac077..639fd9f 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -231,6 +231,7 @@ function get_pkg_depends($pkg_name, $filetype = ".xml", $format = "files", $retu } function uninstall_package_from_name($pkg_name) { + global $config; $id = get_pkg_id($pkg_name); $todel = substr(reverse_strrchr($config['installedpackages']['package'][$id]['depends_on_package'], "."), 0, -1); delete_package($todel, $pkg_name); |