Project

General

Profile

« Previous | Next » 

Revision a4f585c0

Added by Renato Botelho about 10 years ago

Return a blank array on get_pkg_info for now, will be implemented later when I touch GUI

View differences:

etc/inc/pkg-utils.inc
170 170
function get_pkg_info($pkgs = 'all', $info = 'all') {
171 171
	global $g;
172 172

  
173
	$freebsd_machine = php_uname("m");
174
	$params = array(
175
		"pkg" => $pkgs,
176
		"info" => $info,
177
		"freebsd_version" => get_freebsd_version(),
178
		"freebsd_machine" => $freebsd_machine
179
	);
180
	$resp = call_pfsense_method('pfsense.get_pkgs', $params, 10);
181
	return $resp ? $resp : array();
173
	// XXX: implement
174
	return array();
182 175
}
183 176

  
184 177
/*

Also available in: Unified diff