diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-05 20:47:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-05 20:47:28 +0000 |
commit | 3d20d7ac11eabb7b392e65ff31e3ef0d42f54f5f (patch) | |
tree | e30ec898beccc0c6c9aaac13218b59d80184d371 /etc/inc/pfsense-utils.inc | |
parent | a9bc3b82ab1d0a4b1c85b905e3fb9d1636009c4b (diff) | |
download | pfsense-3d20d7ac11eabb7b392e65ff31e3ef0d42f54f5f.zip pfsense-3d20d7ac11eabb7b392e65ff31e3ef0d42f54f5f.tar.gz |
Remove find_package_description()
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d6e68eb..e69b4e9 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -167,24 +167,6 @@ function return_filename_as_string($filename) { } } -/****f* pfsense-utils/find_package_description - * NAME - * find_package_description - Return a packages description - * RESULT - * $description - packages description - ******/ -function find_package_description($package) { - global $g, $config; - if(!file_exists("{$g['tmp_path']}/pkg_config.xml")) - fetch_latest_pkg_config(); - $pkg_config = parse_xml_config_pkg("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs"); - foreach($pkg_config['packages']['package'] as $index) { - if($index['name'] == $package) - return $index['descr']; - } - return; -} - /****f* pfsense-utils/is_carp_defined * NAME * is_carp_defined - Return whether CARP is detected in the kernel. |