summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-05-07 12:51:20 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-05-07 12:51:20 -0300
commita4f585c0ffb9eebaf0d7883a80e96f79de330136 (patch)
tree16144f498c6aa6d524e2ca2e1577f8e1719a00a2 /etc/inc/pkg-utils.inc
parent78c61a7563442f1a51977384eb05ecbde9c21ea4 (diff)
downloadpfsense-a4f585c0ffb9eebaf0d7883a80e96f79de330136.zip
pfsense-a4f585c0ffb9eebaf0d7883a80e96f79de330136.tar.gz
Return a blank array on get_pkg_info for now, will be implemented later when I touch GUI
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc11
1 files changed, 2 insertions, 9 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index dafddeb..5689419 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -170,15 +170,8 @@ function get_package_internal_name($package_data) {
function get_pkg_info($pkgs = 'all', $info = 'all') {
global $g;
- $freebsd_machine = php_uname("m");
- $params = array(
- "pkg" => $pkgs,
- "info" => $info,
- "freebsd_version" => get_freebsd_version(),
- "freebsd_machine" => $freebsd_machine
- );
- $resp = call_pfsense_method('pfsense.get_pkgs', $params, 10);
- return $resp ? $resp : array();
+ // XXX: implement
+ return array();
}
/*
OpenPOWER on IntegriCloud