diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-18 21:17:40 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-18 21:17:40 +0000 |
commit | 6e64220ac4d2a071ccc4e481defbf46da89bff3a (patch) | |
tree | 88241a2c0f161319226110a10c4669245490a3b0 | |
parent | 02f2164b4885a13ecc883ac92f20fd42d0562ac9 (diff) | |
download | pfsense-6e64220ac4d2a071ccc4e481defbf46da89bff3a.zip pfsense-6e64220ac4d2a071ccc4e481defbf46da89bff3a.tar.gz |
Remove find_package_description - this can be done with a call to get_pkg_info.
-rwxr-xr-x | usr/local/www/status_services.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php index 240e933..bf45193 100755 --- a/usr/local/www/status_services.php +++ b/usr/local/www/status_services.php @@ -35,18 +35,6 @@ function gentitle_pkg($pgname) { return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname; } -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; -} - function get_package_rcd_details($extd) { global $package_name, $executable_name, $description, $raw_name; $raw_name = str_replace(".sh","",$extd); |