summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-05 20:47:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-05 20:47:28 +0000
commit3d20d7ac11eabb7b392e65ff31e3ef0d42f54f5f (patch)
treee30ec898beccc0c6c9aaac13218b59d80184d371 /etc/inc/pfsense-utils.inc
parenta9bc3b82ab1d0a4b1c85b905e3fb9d1636009c4b (diff)
downloadpfsense-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.inc18
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.
OpenPOWER on IntegriCloud