diff options
-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. |